diff --git a/rebuild b/rebuild index ad4734892d..b2af34482e 100755 --- a/rebuild +++ b/rebuild @@ -458,6 +458,11 @@ copy_files() { interfaces_file="etc/network/interfaces" [ -f "${interfaces_file}" ] && sed -i "s|hwaddress ether.*|hwaddress ether ${random_macaddr}:AA|g" ${interfaces_file} + # Add rtl8189fs driver for s905x(HG680P & B860H), rtl8822cs driver for s905x3(x96max+) in the dev branch of the kernel repo + [[ "${build_soc}" == "s905x3" || "${build_soc}" == "s905x" ]] && { + sed -i "s|version_branch=\"stable\"|version_branch=\"dev\"|g" usr/sbin/armbian-update + } + # Optimize wifi/bluetooth module [ -d "usr/lib/firmware/brcm" ] && ( cd usr/lib/firmware/brcm/ && mv -f ../*.hcd . 2>/dev/null