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:
Bob Mottram 2016-07-13 19:03:43 +01:00
parent 6fbafc39bc
commit 2e5a742bf4
1 changed files with 8 additions and 2 deletions

View File

@ -510,12 +510,18 @@ initialise_mesh() {
# enable non-free repo # enable non-free repo
if ! grep -q "non-free" $rootdir/etc/apt/sources.list; then 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" sed -i "s| main| main non-free|g" /etc/apt/sources.list
chroot "$rootdir" apt-get update
fi 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 # install proprietary wifi drivers
# see https://wiki.debian.org/iwlwifi # 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 fi
INSTALLING_MESH=1 INSTALLING_MESH=1