wok-current rev 9732

linux: Fix 2. clean up and make it build with cookutils: FIXME: tazwok specif code (aufs is ok for cook and tazwok I guess)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 09 15:57:19 2011 +0200 (2011-05-09)
parents efa076e44811
children 551255803abf
files linux/receipt
line diff
     1.1 --- a/linux/receipt	Mon May 09 15:54:20 2011 +0200
     1.2 +++ b/linux/receipt	Mon May 09 15:57:19 2011 +0200
     1.3 @@ -31,8 +31,8 @@
     1.4  	# Check for Aufs and cook it if unbuilt.
     1.5  	echo "Checking for Aufs packages..."
     1.6  	_AUFSVER=`grep  ^VERSION= $WOK/aufs/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
     1.7 -	AUFSDIR=$WOK/$PACKAGE/aufs-${_AUFSVER}
     1.8 -	[ -d "$AUFSDIR" ] || AUFSDIR=$WOK/$PACKAGE/source/aufs-${_AUFSVER}
     1.9 +	AUFSDIR=$WOK/aufs/aufs-${_AUFSVER}
    1.10 +	[ -d "$AUFSDIR" ] || AUFSDIR=$WOK/aufs/source/aufs-${_AUFSVER}
    1.11  	if [ ! -d "$AUFSDIR" ]; then
    1.12  		if [ -x /usr/bin/cook ]; then
    1.13  			# Give info an redirect to /dev/null since aufs got it own log.
    1.14 @@ -48,7 +48,7 @@
    1.15  
    1.16  	echo "Copying Aufs files and patches..."
    1.17  	cp -a $AUFSDIR/Documentation $AUFSDIR/fs $AUFSDIR/include $src
    1.18 -	cp -a $AUFSDIR/*.patch $WOK/$PACKA$stuff
    1.19 +	cp -a $AUFSDIR/*.patch $stuff
    1.20  	
    1.21  	# SliTaz db
    1.22  	rm -rf $WOK/$PACKAGE/slitaz && mkdir $WOK/$PACKAGE/slitaz