wok-6.x diff linux/receipt @ rev 3106
Up: hal (0.5.12)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 17 23:52:28 2009 +0200 (2009-05-17) |
parents | e25c221aed64 |
children | d0b189b591ab |
line diff
1.1 --- a/linux/receipt Wed May 13 17:34:54 2009 +0200 1.2 +++ b/linux/receipt Sun May 17 23:52:28 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