wok diff linux/stuff/check_modules.sh @ rev 5056

libgphoto2, scanner: reconfigure udev after addition of new rule
author Rohit Joshi <jozee@slitaz.org>
date Sat Mar 06 19:04:53 2010 +0000 (2010-03-06)
parents f87a39ef0f12
children 2ae67cafd57e
line diff
     1.1 --- a/linux/stuff/check_modules.sh	Fri Jun 19 15:25:48 2009 +0000
     1.2 +++ b/linux/stuff/check_modules.sh	Sat Mar 06 19:04:53 2010 +0000
     1.3 @@ -2,10 +2,11 @@
     1.4  # Echo any module in kernel .config that's not added to one of linux-* pkgs
     1.5  # 2009/06/18 <jozee@slitaz.org> - GNU General Public License.
     1.6  #
     1.7 -    
     1.8 -	VERSION=$1
     1.9 -	WOK=$2
    1.10 -	src=$WOK/linux/linux-$VERSION
    1.11 +    . /etc/tazwok.conf
    1.12 +	
    1.13 +	VERSION=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
    1.14 +	src="$WOK/linux/linux-$VERSION"
    1.15 +	
    1.16  	cd $src
    1.17  	mkdir -p ../stuff/tmp
    1.18  	rm -f ../stuff/tmp/* # clean up
    1.19 @@ -35,9 +36,11 @@
    1.20  	done
    1.21  	if [ -f ../stuff/tmp/unpackaged-modules-"$VERSION".list ]; then
    1.22  		echo "======================================================================"
    1.23 -		echo " Some modules selected in .config were not categorized in linux-* pkgs"
    1.24 -		echo "Check linux/stuff/tmp/unpackaged-modules-$VERSION.list to see"
    1.25 +		echo " These modules selected in .config were not categorized in linux-* pkgs:"
    1.26  		cat ../stuff/tmp/unpackaged-modules-$VERSION.list 
    1.27 +		#echo "Check linux/stuff/tmp/unpackaged-modules-$VERSION.list to see"
    1.28 +		echo "======================================================================"
    1.29  	else
    1.30  		rm -r ../stuff/tmp
    1.31  	fi
    1.32 +