wok-6.x diff squashfs/receipt @ rev 1513

acpid: unused files removed
author Dominique Corbex <domcox@users.sourceforge.net>
date Mon Oct 06 19:17:13 2008 +0200 (2008-10-06)
parents c343c644ab92
children 610028bf46e9
line diff
     1.1 --- a/squashfs/receipt	Wed Aug 20 15:28:36 2008 +0000
     1.2 +++ b/squashfs/receipt	Mon Oct 06 19:17:13 2008 +0200
     1.3 @@ -19,10 +19,10 @@
     1.4  
     1.5  	ln -s . $src
     1.6  	# get kernel version
     1.7 -	if [ ! -d ../linux/taz ]; then
     1.8 +	if [ ! -d $WOK/linux/taz ]; then
     1.9  		tazwok cook linux
    1.10  	fi
    1.11 -	kver=$(grep "kernel version" ../linux/linux-*/.config)
    1.12 +	kver=$(grep "kernel version" $WOK/linux/linux-*/.config)
    1.13  	kver=${kver##* }
    1.14  
    1.15  	# Select patch according to kernel version
    1.16 @@ -74,10 +74,10 @@
    1.17  	
    1.18  	# Apply lzma patches
    1.19  #	echo "Apply stuff/lzma.u.."
    1.20 -#	patch -p0 < ../stuff/lzma.u
    1.21 +#	patch -p0 < ../stuff/lzma.u || return 1
    1.22  	
    1.23  	# Build kernel module
    1.24 -	make -C src/. SUBDIRS=$(pwd)/fs/squashfs/ CONFIG_SQUASHFS=m modules
    1.25 +	make -C src/. SUBDIRS=$(pwd)/fs/squashfs/ CONFIG_SQUASHFS=m modules || return 1
    1.26  	cd ..
    1.27  	[ -d _pkg ] && rm -rf _pkg
    1.28  	mkdir -p _pkg/lib/modules/$kver-slitaz/kernel/fs/squashfs
    1.29 @@ -88,7 +88,7 @@
    1.30  
    1.31  	# Build user land tools
    1.32  	cd ${PACKAGE}${VERSION}/squashfs-tools
    1.33 -	make
    1.34 +	make || return 1
    1.35  	cp mksquashfs ../../_pkg/usr/sbin
    1.36  	cp unsquashfs ../../_pkg/sbin
    1.37  }