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