Add more wifi firmware
This stuff is bad, but only gets installed on the mesh client if the --insecure option is set
This commit is contained in:
parent
6fbafc39bc
commit
2e5a742bf4
|
@ -510,12 +510,18 @@ initialise_mesh() {
|
|||
# enable non-free repo
|
||||
if ! grep -q "non-free" $rootdir/etc/apt/sources.list; then
|
||||
chroot "$rootdir" sed -i "s| main| main non-free|g" /etc/apt/sources.list
|
||||
chroot "$rootdir" apt-get update
|
||||
fi
|
||||
|
||||
# enable contrib repo
|
||||
if ! grep -q "contrib" $rootdir/etc/apt/sources.list; then
|
||||
chroot "$rootdir" sed -i "s| main| main contrib|g" /etc/apt/sources.list
|
||||
fi
|
||||
|
||||
chroot "$rootdir" apt-get update
|
||||
|
||||
# install proprietary wifi drivers
|
||||
# see https://wiki.debian.org/iwlwifi
|
||||
chroot "$rootdir" apt-get -y install firmware-iwlwifi
|
||||
chroot "$rootdir" apt-get -y install firmware-iwlwifi firmware-b43-installer firmware-brcm80211
|
||||
fi
|
||||
|
||||
INSTALLING_MESH=1
|
||||
|
|
Loading…
Reference in New Issue