wok diff linux/receipt @ rev 7131
Up: linux to 2.6.36. Added fixes for aufs to compile.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Nov 05 15:48:33 2010 +0000 (2010-11-05) |
parents | 26ead49dddc4 |
children | 35a10ca4f67b |
line diff
1.1 --- a/linux/receipt Thu Oct 14 22:23:29 2010 +0000 1.2 +++ b/linux/receipt Fri Nov 05 15:48:33 2010 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="linux" 1.7 -VERSION="2.6.34" 1.8 +VERSION="2.6.36" 1.9 CATEGORY="base-system" 1.10 SHORT_DESC="The Linux kernel and modules." 1.11 DEPENDS="depmod" 1.12 @@ -15,20 +15,28 @@ 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 { 1.16 - local _AUFSVER="20101015" 1.17 + 1.18 + # this is code to help update the kernel version faster 1.19 + #for i in $(grep -l 'WANTED="linux"' $WOK/*/receipt) 1.20 + #do 1.21 + # sed -i 's|VERSION="OLDVERSION"|VERSION="NEWVERSION"|g' $i 1.22 + #done 1.23 + local _AUFSVER="20101105" 1.24 local AUFSDIR="aufs2-${_AUFSVER}-${VERSION}" 1.25 [ -d "AUFSDIR" ] && rm -rf $AUFSDIR 1.26 TARBALL=$SOURCES_REPOSITORY/$AUFSDIR.tar.gz 1.27 if [ -f $TARBALL ]; then 1.28 tar xzf $TARBALL 1.29 - cd $AUFSDIR && git checkout origin/aufs2-34 1.30 + cd $AUFSDIR && git checkout origin/aufs2 1.31 else 1.32 # Aufs2 from git repository 1.33 git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-standalone.git $AUFSDIR 1.34 tar czf $TARBALL $AUFSDIR 1.35 - cd $AUFSDIR && git checkout origin/aufs2-34 1.36 + cd $AUFSDIR && git checkout origin/aufs2 1.37 fi 1.38 - #cd $AUFSDIR 1.39 + # this is to make linux-source added aufs2 1.40 + cp -a $AUFSDIR $WOK/$PACKAGE/aufs2 1.41 + cd $AUFSDIR 1.42 cp -a Documentation fs include $src 1.43 cp -a *.patch ../stuff 1.44 # We need the real GNU patch 1.45 @@ -55,11 +63,12 @@ 1.46 $PACKAGE-diff-$VERSION.u 1.47 $PACKAGE-unlzma-$VERSION.u 1.48 $PACKAGE-header-$VERSION.u 1.49 +$PACKAGE-freeinitrd-$VERSION.u 1.50 aufs2-base.patch 1.51 +aufs2-standalone.patch 1.52 aufs2-kbuild.patch 1.53 -aufs2-standalone.patch 1.54 -$PACKAGE-freeinitrd-$VERSION.u 1.55 -$PACKAGE-squashfs-lzma-$VERSION.u 1.56 +aufs2-module-2.6.36.patch 1.57 +aufs2-2.6.36-fix.patch 1.58 EOT 1.59 make mrproper 1.60 cd Documentation/lguest 1.61 @@ -146,7 +155,9 @@ 1.62 1.63 clean_wok() 1.64 { 1.65 - rm -rf aufs2 1.66 - rm stuff/aufs2-* 1.67 + #rm -rf aufs2 1.68 + rm stuff/aufs2-base* 1.69 + rm stuff/aufs2-standalone* 1.70 + rm stuff/aufs2-kbuild* 1.71 rm -rf stuff/tmp 1.72 }