wok-6.x rev 3060

Linux: don't forget firmwares...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 13 17:34:54 2009 +0200 (2009-05-13)
parents 791fe547794f
children 9d78368373b6
files linux/receipt linux/stuff/modules-2.6.29.3.list
line diff
     1.1 --- a/linux/receipt	Wed May 13 17:16:51 2009 +0200
     1.2 +++ b/linux/receipt	Wed May 13 17:34:54 2009 +0200
     1.3 @@ -64,10 +64,15 @@
     1.4      export src
     1.5      export _pkg
     1.6      $src/list_modules.sh $(cat stuff/modules-$VERSION.list) > $src/modules.list
     1.7 -    while read module; do
     1.8 +    while read module firmwares; do
     1.9      	dir=$(dirname $module)
    1.10      	[ -d $path/$dir ] || mkdir -p $path/$dir
    1.11          cp -a $_pkg/lib/modules/$VERSION-slitaz/kernel/$module $path/$dir
    1.12 +	for i in $firmwares; do
    1.13 +    	    dir=$(dirname $i)
    1.14 +    	    [ -d $fs/lib/firmware/$dir ] || mkdir -p $fs/lib/firmware/$dir
    1.15 +	    cp -a $_pkg/lib/firmware/$i $fs/lib/firmware/$i
    1.16 +	done
    1.17      done < $src/modules.list
    1.18      # Remove unresolved links
    1.19      rm -f $fs/lib/modules/$VERSION-slitaz/build
     2.1 --- a/linux/stuff/modules-2.6.29.3.list	Wed May 13 17:16:51 2009 +0200
     2.2 +++ b/linux/stuff/modules-2.6.29.3.list	Wed May 13 17:34:54 2009 +0200
     2.3 @@ -63,11 +63,11 @@
     2.4  drivers/net/sky2.ko.gz
     2.5  drivers/net/smc9194.ko.gz
     2.6  drivers/net/smc-ultra.ko.gz
     2.7 -drivers/net/starfire.ko.gz
     2.8 +drivers/net/starfire.ko.gz adaptec/starfire_rx.bin adaptec/starfire_tx.bin
     2.9  drivers/net/sungem.ko.gz
    2.10  drivers/net/sungem_phy.ko.gz
    2.11  drivers/net/sunhme.ko.gz
    2.12 -drivers/net/tg3.ko.gz
    2.13 +drivers/net/tg3.ko.gz tigon/tg3.bin tigon/tg3_tso.bin tigon/tg3_tso5.bin
    2.14  drivers/net/tulip/tulip.ko.gz
    2.15  drivers/net/tulip/uli526x.ko.gz
    2.16  drivers/net/typhoon.ko.gz