wok diff linux/receipt @ rev 7297
Add aufs. Aufs is now compile by itself like ndiswrapper-driver is. This is so the aufs source tar.gz file is not purge with tazdev everytime we need to purge it. Removed linux-aufs receipt. Updated linux, linux-source, and aufs-utils with the new changes.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 17 00:59:02 2010 +0000 (2010-11-17) |
parents | 5355ffc461cf |
children | db069f80c0a0 |
line diff
1.1 --- a/linux/receipt Fri Nov 05 15:48:33 2010 +0000 1.2 +++ b/linux/receipt Wed Nov 17 00:59:02 2010 +0000 1.3 @@ -21,29 +21,30 @@ 1.4 #do 1.5 # sed -i 's|VERSION="OLDVERSION"|VERSION="NEWVERSION"|g' $i 1.6 #done 1.7 - local _AUFSVER="20101105" 1.8 - local AUFSDIR="aufs2-${_AUFSVER}-${VERSION}" 1.9 - [ -d "AUFSDIR" ] && rm -rf $AUFSDIR 1.10 + local _AUFSVER=`grep ^VERSION= $WOK/aufs/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.11 + local AUFSDIR="aufs-${_AUFSVER}" 1.12 TARBALL=$SOURCES_REPOSITORY/$AUFSDIR.tar.gz 1.13 - if [ -f $TARBALL ]; then 1.14 + if [ -d $WOK/aufs/$AUFSDIR ]; then 1.15 + local AUFSDIR=$WOK/aufs/$AUFSDIR 1.16 + ln -sf $AUFSDIR aufs-${_AUFSVER} 1.17 + elif [ -f $TARBALL ]; then 1.18 tar xzf $TARBALL 1.19 cd $AUFSDIR && git checkout origin/aufs2 1.20 + cd $WOK/$PACKAGE 1.21 else 1.22 # Aufs2 from git repository 1.23 git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-standalone.git $AUFSDIR 1.24 tar czf $TARBALL $AUFSDIR 1.25 - cd $AUFSDIR && git checkout origin/aufs2 1.26 + cd $AUFSDIR && git checkout origin/aufs2 1.27 + cd $WOK/$PACKAGE 1.28 fi 1.29 - # this is to make linux-source added aufs2 1.30 - cp -a $AUFSDIR $WOK/$PACKAGE/aufs2 1.31 - cd $AUFSDIR 1.32 - cp -a Documentation fs include $src 1.33 - cp -a *.patch ../stuff 1.34 + cp -a $AUFSDIR/Documentation $AUFSDIR/fs $AUFSDIR/include $src 1.35 + cp -a $AUFSDIR/*.patch $WOK/$PACKAGE/stuff 1.36 # We need the real GNU patch 1.37 [ -L /usr/bin/patch ] && tazpkg get-install patch --forced 1.38 cd $src 1.39 # SliTaz db 1.40 - rm -rf slitaz 2> /dev/null 1.41 + [ -d slitaz ] && rm -rf slitaz 2> /dev/null 1.42 mkdir slitaz 1.43 echo "$WGET_URL" > slitaz/url 1.44 cp ../stuff/gztazmod.sh ../stuff/list_modules.sh slitaz 1.45 @@ -66,7 +67,6 @@ 1.46 $PACKAGE-freeinitrd-$VERSION.u 1.47 aufs2-base.patch 1.48 aufs2-standalone.patch 1.49 -aufs2-kbuild.patch 1.50 aufs2-module-2.6.36.patch 1.51 aufs2-2.6.36-fix.patch 1.52 EOT 1.53 @@ -158,6 +158,6 @@ 1.54 #rm -rf aufs2 1.55 rm stuff/aufs2-base* 1.56 rm stuff/aufs2-standalone* 1.57 - rm stuff/aufs2-kbuild* 1.58 + #rm stuff/aufs2-kbuild* 1.59 rm -rf stuff/tmp 1.60 }