wok diff linux-libre/stuff/check_modules.sh @ rev 13532
Up tmux (1.7)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Oct 21 20:45:20 2012 +0100 (2012-10-21) |
parents | abe27fd0192d |
children | d51bf7b42b2a |
line diff
1.1 --- a/linux-libre/stuff/check_modules.sh Tue Mar 15 03:23:44 2011 +0100 1.2 +++ b/linux-libre/stuff/check_modules.sh Sun Oct 21 20:45:20 2012 +0100 1.3 @@ -24,20 +24,20 @@ 1.4 for i in $(cd $WOK; ls -d linux-libre-*) 1.5 do 1.6 tazpath="taz/$i-$VERSION" 1.7 - for j in $(cat $WOK/$i/$tazpath/files.list | grep ".ko.gz") 1.8 - do 1.9 - basename $j >> $WOK/$PACKAGE/tmp/pkgs-modules-"$VERSION".list 1.10 - done 1.11 + for j in $(cat $WOK/$i/$tazpath/files.list | grep ".ko.gz") 1.12 + do 1.13 + basename $j >> $WOK/$PACKAGE/tmp/pkgs-modules-"$VERSION".list 1.14 + done 1.15 done 1.16 # get the original list in .config 1.17 -for i in $(find $_pkg -iname "*.ko.gz") 1.18 +for i in $(find $_pkg -iname "*.ko.gz") 1.19 do 1.20 basename $i >> $WOK/$PACKAGE/tmp/originial-"$VERSION".list 1.21 done 1.22 # compare original .config and pkged modules 1.23 -for i in $(cat $WOK/$PACKAGE/tmp/originial-$VERSION.list) 1.24 -do 1.25 - if ! grep -qs "$i" $WOK/$PACKAGE/tmp/pkgs-modules-"$VERSION".list ; then 1.26 +for i in $(cat $WOK/$PACKAGE/tmp/originial-$VERSION.list) 1.27 +do 1.28 + if ! grep -qs "$i" $WOK/$PACKAGE/tmp/pkgs-modules-"$VERSION".list ; then 1.29 modpath=`find $_pkg -iname "$i"` 1.30 echo "Orphan module: $i" 1.31 echo "$i : $modpath" >> $WOK/$PACKAGE/tmp/unpackaged-modules-"$VERSION".list