From 2e5a742bf4877c8ea4a058a8907fa7bc3adc4caf Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 13 Jul 2016 19:03:43 +0100 Subject: [PATCH] Add more wifi firmware This stuff is bad, but only gets installed on the mesh client if the --insecure option is set --- src/freedombone-image-customise | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 53c0b40c..5d23695d 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -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