소스 검색

Add more wifi firmware

This stuff is bad, but only gets installed on the mesh client if the --insecure option is set
Bob Mottram 8 년 전
부모
커밋
2e5a742bf4
1개의 변경된 파일8개의 추가작업 그리고 2개의 파일을 삭제
  1. 8
    2
      src/freedombone-image-customise

+ 8
- 2
src/freedombone-image-customise 파일 보기

@@ -510,12 +510,18 @@ initialise_mesh() {
510 510
 		# enable non-free repo
511 511
 		if ! grep -q "non-free" $rootdir/etc/apt/sources.list; then
512 512
 			chroot "$rootdir" sed -i "s| main| main non-free|g" /etc/apt/sources.list
513
-			chroot "$rootdir" apt-get update
514 513
 		fi
515 514
 
515
+		# enable contrib repo
516
+		if ! grep -q "contrib" $rootdir/etc/apt/sources.list; then
517
+			chroot "$rootdir" sed -i "s| main| main contrib|g" /etc/apt/sources.list
518
+		fi
519
+
520
+		chroot "$rootdir" apt-get update
521
+
516 522
 		# install proprietary wifi drivers
517 523
 		# see https://wiki.debian.org/iwlwifi
518
-		chroot "$rootdir" apt-get -y install firmware-iwlwifi
524
+		chroot "$rootdir" apt-get -y install firmware-iwlwifi firmware-b43-installer firmware-brcm80211
519 525
 	fi
520 526
 
521 527
 	INSTALLING_MESH=1