wok-next diff linux/stuff/check_modules.sh @ rev 13930
linux: update check_modules.sh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 11:53:53 2013 +0100 (2013-01-26) |
parents | 6f536abe4f0b |
children | c0298010efaf |
line diff
1.1 --- a/linux/stuff/check_modules.sh Sun Apr 15 16:27:00 2012 +0200 1.2 +++ b/linux/stuff/check_modules.sh Sat Jan 26 11:53:53 2013 +0100 1.3 @@ -26,19 +26,19 @@ 1.4 do 1.5 tazpath="taz/$i-*" 1.6 if [ ! $(grep -l 'linux-libre' $WOK/$i/receipt) ]; then 1.7 - for j in $(cat $WOK/$i/$tazpath/files.list | grep ".ko.gz") 1.8 + for j in $(cat $WOK/$i/$tazpath/files.list | grep ".ko..z") 1.9 do 1.10 basename $j >> $WOK/$PACKAGE/tmp/pkgs-modules-"$VERSION".list 1.11 done 1.12 fi 1.13 done 1.14 # get the original list in .config 1.15 -for i in $(find $_pkg -iname "*.ko.gz") 1.16 +for i in $(find $_pkg -iname "*.ko.?z") 1.17 do 1.18 - basename $i >> $WOK/$PACKAGE/tmp/originial-"$VERSION".list 1.19 -done 1.20 + basename $i 1.21 +done > $WOK/$PACKAGE/tmp/originial-"$VERSION".list 1.22 # compare original .config and pkged modules 1.23 -for i in $(cat $WOK/$PACKAGE/tmp/originial-$VERSION.list) 1.24 +for i in $(cat $WOK/$PACKAGE/tmp/original-$VERSION.list) 1.25 do 1.26 if ! grep -qs "$i" $WOK/$PACKAGE/tmp/pkgs-modules-"$VERSION".list ; then 1.27 modpath=`find $_pkg -iname "$i"`