wok diff linux-libre/receipt @ rev 19797

linux-libre: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 24 11:29:24 2017 +0100 (2017-02-24)
parents 6fab3264ba87
children 10c74e95b062
line diff
     1.1 --- a/linux-libre/receipt	Fri Dec 25 15:23:46 2015 +0200
     1.2 +++ b/linux-libre/receipt	Fri Feb 24 11:29:24 2017 +0100
     1.3 @@ -13,7 +13,7 @@
     1.4  CONFIG_FILES="/lib/modules/$VERSION-slitaz/modules.dep"
     1.5  
     1.6  DEPENDS="depmod"
     1.7 -BUILD_DEPENDS="slitaz-toolchain perl git lzma patch"
     1.8 +BUILD_DEPENDS="slitaz-toolchain perl git lzma patch aufs"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12 @@ -29,12 +29,7 @@
    1.13  	# Check for Aufs and cook it if unbuilt.
    1.14  	echo "Checking for Aufs packages..."
    1.15  	_AUFSVER=`grep  ^VERSION= $WOK/aufs/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
    1.16 -	if [ ! -d "$AUFSDIR" ] && [ -x /usr/bin/cook ]; then
    1.17 -		# Give info an redirect to /dev/null since aufs got it own log.
    1.18 -		AUFSDIR=$WOK/aufs/source/aufs-${_AUFSVER}
    1.19 -		echo "Cook: aufs $_AUFSVER"
    1.20 -		cook aufs > /dev/null
    1.21 -	elif [ ! -x /usr/bin/cook ]; then
    1.22 +	if [ ! -x /usr/bin/cook ]; then
    1.23  		# We only need aufs source. Also cooking now is a bad idea since it
    1.24  		# needs linux-module-headers.
    1.25  		AUFSDIR=$WOK/aufs/aufs-${_AUFSVER}