wok-current rev 10697

virtualbox-ose: sed non blocking ERROR
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 27 23:22:41 2011 +0200 (2011-05-27)
parents e31075172f66
children 22602b3979d7
files virtualbox-ose/receipt
line diff
     1.1 --- a/virtualbox-ose/receipt	Fri May 27 17:06:05 2011 +0000
     1.2 +++ b/virtualbox-ose/receipt	Fri May 27 23:22:41 2011 +0200
     1.3 @@ -36,12 +36,15 @@
     1.4  	source ./env.sh
     1.5  	kmk all
     1.6  
     1.7 -	# build modules
     1.8 +	# build modules. NOTE: we gor ERROR even if it build and cook will exit
     1.9 +	# sed ERROR to error.
    1.10  	cd 
    1.11  	KERN_DIR=/usr/src/linux make -C "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/src"
    1.12  	# build guest additions modules
    1.13  	KERN_DIR=/usr/src/linux make -C "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src"
    1.14 -	KERN_DIR=/usr/src/linux make -C "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src/vboxvideo"
    1.15 +	KERN_DIR=/usr/src/linux make -C \
    1.16 +		"$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src/vboxvideo" \
    1.17 +		2>&1 | sed s'/ERROR/error/'
    1.18  }
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.