wok rev 12288

linux: workaround missing --extract in cook
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 15 19:01:36 2012 +0200 (2012-04-15)
parents 02a3222651d5
children f5ae71feeeea
files linux/receipt
line diff
     1.1 --- a/linux/receipt	Sun Apr 15 17:51:38 2012 +0200
     1.2 +++ b/linux/receipt	Sun Apr 15 19:01:36 2012 +0200
     1.3 @@ -35,7 +35,9 @@
     1.4  		AUFSDIR=$WOK/aufs/source/aufs-${_AUFSVER}
     1.5  		[ -d "$AUFSDIR" ] && rm -rf $AUFSDIR
     1.6  		#echo "Cook: aufs $_AUFSVER"
     1.7 -		cook aufs --getsrc --extract > /dev/null
     1.8 +		cook aufs --getsrc
     1.9 +		mkdir -p $WOK/aufs/source/
    1.10 +		tar xjf $SRC/aufs-${_AUFSVER}.tar.bz2 -C $AUFSDIR
    1.11  	elif [ -x /usr/bin/tazwok ]; then
    1.12  		# we just need aufs source. Also cooking now is a bad idea since it
    1.13  		# needs linux-module-headers. The one your cooking not the one from the web.