wok rev 3061
linux: fix firmware stuff
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 13 20:38:22 2009 +0200 (2009-05-13) |
parents | e25c221aed64 |
children | 310312c58128 |
files | linux/receipt linux/stuff/firmwares-2.6.29.3.list linux/stuff/modules-2.6.29.3.list |
line diff
1.1 --- a/linux/receipt Wed May 13 17:34:54 2009 +0200 1.2 +++ b/linux/receipt Wed May 13 20:38:22 2009 +0200 1.3 @@ -68,12 +68,12 @@ 1.4 dir=$(dirname $module) 1.5 [ -d $path/$dir ] || mkdir -p $path/$dir 1.6 cp -a $_pkg/lib/modules/$VERSION-slitaz/kernel/$module $path/$dir 1.7 - for i in $firmwares; do 1.8 - dir=$(dirname $i) 1.9 - [ -d $fs/lib/firmware/$dir ] || mkdir -p $fs/lib/firmware/$dir 1.10 - cp -a $_pkg/lib/firmware/$i $fs/lib/firmware/$i 1.11 - done 1.12 done < $src/modules.list 1.13 + for i in $(cat stuff/firmwares-$VERSION.list) ; do 1.14 + dir=$(dirname $i) 1.15 + [ -d $fs/lib/firmware/$dir ] || mkdir -p $fs/lib/firmware/$dir 1.16 + cp -a $_pkg/lib/firmware/$i $fs/lib/firmware/$i 1.17 + done 1.18 # Remove unresolved links 1.19 rm -f $fs/lib/modules/$VERSION-slitaz/build 1.20 rm -f $fs/lib/modules/$VERSION-slitaz/source
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/linux/stuff/firmwares-2.6.29.3.list Wed May 13 20:38:22 2009 +0200 2.3 @@ -0,0 +1,5 @@ 2.4 +adaptec/starfire_rx.bin 2.5 +adaptec/starfire_tx.bin 2.6 +tigon/tg3.bin 2.7 +tigon/tg3_tso.bin 2.8 +tigon/tg3_tso5.bin
3.1 --- a/linux/stuff/modules-2.6.29.3.list Wed May 13 17:34:54 2009 +0200 3.2 +++ b/linux/stuff/modules-2.6.29.3.list Wed May 13 20:38:22 2009 +0200 3.3 @@ -63,11 +63,11 @@ 3.4 drivers/net/sky2.ko.gz 3.5 drivers/net/smc9194.ko.gz 3.6 drivers/net/smc-ultra.ko.gz 3.7 -drivers/net/starfire.ko.gz adaptec/starfire_rx.bin adaptec/starfire_tx.bin 3.8 +drivers/net/starfire.ko.gz 3.9 drivers/net/sungem.ko.gz 3.10 drivers/net/sungem_phy.ko.gz 3.11 drivers/net/sunhme.ko.gz 3.12 -drivers/net/tg3.ko.gz tigon/tg3.bin tigon/tg3_tso.bin tigon/tg3_tso5.bin 3.13 +drivers/net/tg3.ko.gz 3.14 drivers/net/tulip/tulip.ko.gz 3.15 drivers/net/tulip/uli526x.ko.gz 3.16 drivers/net/typhoon.ko.gz