wok rev 4003

linux: ensure linux-source will have patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 31 17:17:44 2009 +0200 (2009-08-31)
parents 963dde591be1
children 60a878ff9a03
files linux/receipt
line diff
     1.1 --- a/linux/receipt	Mon Aug 31 13:11:29 2009 +0200
     1.2 +++ b/linux/receipt	Mon Aug 31 17:17:44 2009 +0200
     1.3 @@ -22,14 +22,14 @@
     1.4  	cp ../stuff/gztazmod.sh ../stuff/list_modules.sh slitaz
     1.5  	# lzma and misc patches from pascal
     1.6  	while read patch_file; do
     1.7 +		echo "$patch_file" >> slitaz/patches
     1.8 +		cp ../stuff/$patch_file slitaz/$patch_file
     1.9  		if [ -f done.$patch_file ]; then
    1.10  			echo "Skipping $patch_file"
    1.11  			continue
    1.12  		fi
    1.13  		echo "Apply $patch_file"
    1.14  		patch -p1 < ../stuff/$patch_file || return 1
    1.15 -		echo "$patch_file" >> slitaz/patches
    1.16 -		cp ../stuff/$patch_file slitaz/$patch_file
    1.17  		touch done.$patch_file
    1.18  	done <<EOT
    1.19  $PACKAGE-utf8-$VERSION.u