wok rev 304

Shfs & squashfs : busybox patch doesn't like -N
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 29 22:52:48 2008 +0000 (2008-02-29)
parents 3f7d6096e836
children 50ae4849a222
files shfs/receipt squashfs/receipt
line diff
     1.1 --- a/shfs/receipt	Fri Feb 29 22:45:28 2008 +0000
     1.2 +++ b/shfs/receipt	Fri Feb 29 22:52:48 2008 +0000
     1.3 @@ -21,7 +21,7 @@
     1.4  	kver=$(grep "kernel version" ../linux/linux-*/.config)
     1.5  	kver=${kver##* }
     1.6  	cd $PACKAGE-$VERSION
     1.7 -	patch -Np0 < ../stuff/$PACKAGE-$VERSION-$kver.u
     1.8 +	patch -p0 < ../stuff/$PACKAGE-$VERSION-$kver.u
     1.9  	while read subs ; do
    1.10  		perl -pi -e "$subs" Makefile
    1.11  	done << EOF
     2.1 --- a/squashfs/receipt	Fri Feb 29 22:45:28 2008 +0000
     2.2 +++ b/squashfs/receipt	Fri Feb 29 22:52:48 2008 +0000
     2.3 @@ -46,7 +46,7 @@
     2.4  	done
     2.5  
     2.6  	# Apply squashfs patches in local aera
     2.7 -	patch -Np1 < ../$patch_dir/${PACKAGE}${VERSION}-patch
     2.8 +	patch -p1 < ../$patch_dir/${PACKAGE}${VERSION}-patch
     2.9  
    2.10  	# Move every files in fs/squashfs directory
    2.11  	mv include/linux/* fs/squashfs