Skip to content

Commit

Permalink
Add rtl8189fs & rtl8822cs driver for dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Jan 12, 2022
1 parent 12bc55e commit 1339584
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1339584

Please sign in to comment.