wok diff linux/receipt @ rev 4472

linux .config (some changes similar to 2.6.29.3); add a modules check to receipt
author Rohit Joshi <jozee@slitaz.org>
date Mon Nov 09 14:00:35 2009 +0000 (2009-11-09)
parents 3681131f240a
children 271e813eaddc
line diff
     1.1 --- a/linux/receipt	Fri Sep 25 02:18:43 2009 +0200
     1.2 +++ b/linux/receipt	Mon Nov 09 14:00:35 2009 +0000
     1.3 @@ -20,6 +20,7 @@
     1.4  		git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-standalone.git aufs2
     1.5  		cd aufs2 && git checkout origin/aufs2-30
     1.6  		cp -a Documentation fs include $src
     1.7 +		cp -a *.patch ../stuff
     1.8  	fi
     1.9  	cd $src
    1.10  	# SliTaz db
    1.11 @@ -30,22 +31,23 @@
    1.12  	# Misc patches from pascal
    1.13  	while read patch_file; do
    1.14  		echo "$patch_file" >> slitaz/patches
    1.15 -		cp ../stuff/$patch_file slitaz/$patch_file
    1.16 +		#cp ../stuff/$patch_file slitaz/$patch_file
    1.17 +		cp ../stuff/$patch_file slitaz
    1.18  		if [ -f done.$patch_file ]; then
    1.19  			echo "Skipping $patch_file"
    1.20  			continue
    1.21  		fi
    1.22  		echo "Apply $patch_file"
    1.23 -		patch -p1 < $patch_file || exit 1
    1.24 +		patch -p1 < slitaz/$patch_file || exit 1
    1.25  		touch done.$patch_file
    1.26  	done <<EOT
    1.27 -../stuff/$PACKAGE-utf8-$VERSION.u
    1.28 -../stuff/$PACKAGE-diff-$VERSION.u
    1.29 -../stuff/$PACKAGE-freeinitrd-$VERSION.u
    1.30 -../stuff/$PACKAGE-unlzma-$VERSION.u
    1.31 -../aufs2/aufs2-base.patch
    1.32 -../aufs2/aufs2-kbuild.patch
    1.33 -../aufs2/aufs2-standalone.patch
    1.34 +$PACKAGE-utf8-$VERSION.u
    1.35 +$PACKAGE-diff-$VERSION.u
    1.36 +$PACKAGE-freeinitrd-$VERSION.u
    1.37 +$PACKAGE-unlzma-$VERSION.u
    1.38 +aufs2-base.patch
    1.39 +aufs2-kbuild.patch
    1.40 +aufs2-standalone.patch
    1.41  EOT
    1.42  	make mrproper
    1.43  	cp ../stuff/$PACKAGE-$VERSION-slitaz.config .config
    1.44 @@ -93,6 +95,8 @@
    1.45      do
    1.46      	echo tazwok cook ${i%/receipt}
    1.47      done
    1.48 +    # check and echo any module in kernel .config that's not added to one of linux-* pkgs
    1.49 +	./stuff/check_modules.sh 
    1.50  }
    1.51  
    1.52  # Pre and post install commands for Tazpkg.