wok rev 10637

linux-libre: remove all report (last try to build failed)
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 27 00:23:00 2011 +0200 (2011-05-27)
parents f2d28fcaaa1c
children cc1782ebaa81
files linux-libre/receipt
line diff
     1.1 --- a/linux-libre/receipt	Fri May 27 00:00:37 2011 +0200
     1.2 +++ b/linux-libre/receipt	Fri May 27 00:23:00 2011 +0200
     1.3 @@ -23,7 +23,6 @@
     1.4  	#do
     1.5  	#	sed -i 's|VERSION="OLDVERSION"|VERSION="NEWVERSION"|g' $i
     1.6  	#done
     1.7 -	[ -x /usr/bin/tazwok ] && report open-bloc
     1.8  
     1.9  	_AUFSVER=`grep  ^VERSION= $WOK/aufs/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
    1.10  	AUFSDIR=$WOK/$PACKAGE/aufs-${_AUFSVER}
    1.11 @@ -49,7 +48,7 @@
    1.12  			continue
    1.13  		fi
    1.14  		echo "Apply $patch_file"
    1.15 -		patch -p1 < $WOK/$PACKAGE/slitaz/$patch_file || { report close-bloc; return 1; }
    1.16 +		patch -p1 < $WOK/$PACKAGE/slitaz/$patch_file || exit 1
    1.17  		touch done.$patch_file
    1.18  	done <<EOT
    1.19  $PACKAGE-diff-$VERSION.u
    1.20 @@ -67,7 +66,7 @@
    1.21  	echo "Make kernel proper and then build lguest"
    1.22  	make mrproper
    1.23  	cd Documentation/lguest
    1.24 -	make lguest || { report close-bloc; return 1; }
    1.25 +	make lguest || exit 1
    1.26  	cd $src
    1.27  
    1.28  	echo "Make bzImage without modules first"
    1.29 @@ -79,7 +78,7 @@
    1.30  	       -e 's/^CONFIG_R8187SE/#&/' \
    1.31  	       -e 's/^CONFIG_RT2870/#&/' .config
    1.32  	yes '' | make oldconfig
    1.33 -	make -j 4 bzImage || { report close-bloc; return 1; }
    1.34 +	make -j 4 bzImage ||exit 1
    1.35  	[ -d $PWD/_pkg ] || mkdir -p $PWD/_pkg
    1.36  	mv arch/x86/boot/bzImage $PWD/_pkg
    1.37  	mv System.map System.map-without-modules
    1.38 @@ -93,7 +92,7 @@
    1.39  	make -j 4 modules &&
    1.40  	make INSTALL_MOD_PATH=$PWD/_pkg modules_install &&
    1.41  	make INSTALL_HDR_PATH=$PWD/_pkg/usr headers_install &&
    1.42 -	#[ -s arch/x86/boot/bzImage ] || { report close-bloc; return 1; }
    1.43 +	
    1.44  	mkdir -p $PWD/_pkg/boot 2> /dev/null
    1.45  	mv arch/x86/boot/bzImage $PWD/_pkg/boot/vmlinuz-$VERSION-slitaz
    1.46  	# Compress all modules.
    1.47 @@ -101,7 +100,6 @@
    1.48  	$stuff/gztazmod.sh $PWD/_pkg/lib/modules/$VERSION-slitaz
    1.49  	ln System.map System.map-modules
    1.50  	ln Module.symvers Module.symvers-modules
    1.51 -	[ -x /usr/bin/tazwok ] && report close-bloc
    1.52  }
    1.53  
    1.54  # Rules to gen a SliTaz package suitable for Tazpkg.