pinstall.sh 1.0 KB

123456789101112131415161718192021222324252627
  1. #!/bin/sh
  2. #when this executes, working directory is in sandbox3/rootfs-complete.
  3. #called from script 3builddistro, after content of kernel-skeleton copied into sandbox3/rootfs-complete.
  4. echo "setup for kernel-skeleton..."
  5. #the brcm firmware is rather large. remove if modules not present.
  6. #This is Broadcom wireless. The modules are in the 2.6.39.x kernel, not in 2.6.32.x.
  7. BRCMFMAC="`find ./lib/modules -type f -name brcmfmac.ko`" #and brcmsmac.ko
  8. if [ ! "$BRCMFMAC" ];then
  9. #rm -f ./lib/modules/all-firmware/brcm.tar.gz
  10. rm -r -f ./lib/modules/all-firmware/brcm #120127 no longer tarballs.
  11. fi
  12. #pemasu, oct.2011
  13. ATH9KHTC="`find ./lib/modules -type f -name ath9k_htc.ko`"
  14. if [ ! "$ATH9KHTC" ];then
  15. #rm -f ./lib/modules/all-firmware/ath9k_htc.tar.gz
  16. rm -r -f ./lib/modules/all-firmware/ath9k_htc #120127 no longer tarballs.
  17. fi
  18. #not sure, b43 may be fixed if move firmware...
  19. #mv -f ./lib/modules/all-firmware/b43/lib/firmware/b43 ./lib/firmware/b43
  20. #120126 comment-out, fixed uevent replay for ssb at bootup, see http://bkhome.org/blog/?viewDetailed=02651