wok diff linux-libre/stuff/check_modules.sh @ rev 11407
Up: subversion to 1.7.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Dec 10 21:12:10 2011 +0000 (2011-12-10) |
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 Sat Dec 10 21:12:10 2011 +0000 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