# HG changeset patch # User Antoine Bodin # Date 1297634276 -3600 # Node ID 7cd28c1efe9b9dc93eed05fa7335e40eeaa6838f # Parent 86389dd74a3560e6895e918fb9d9584dcfafc7e9 imported patch get/linux diff -r 86389dd74a35 -r 7cd28c1efe9b linux/receipt --- a/linux/receipt Sun Feb 13 22:57:56 2011 +0100 +++ b/linux/receipt Sun Feb 13 22:57:56 2011 +0100 @@ -23,18 +23,7 @@ #done local _AUFSVER=`grep ^VERSION= $WOK/aufs/receipt | cut -d "=" -f2 | sed -e 's/"//g'` local AUFSDIR="aufs-${_AUFSVER}" - TARBALL=$SOURCES_REPOSITORY/$AUFSDIR.tar.lzma - if [ -f $TARBALL ]; then - unlzma -c $TARBALL | tar xf - - cd $AUFSDIR && git checkout origin/aufs2.1-37 - cd $WOK/$PACKAGE - else - # Aufs2 from git repository - git clone git://aufs.git.sourceforge.net/gitroot/aufs/aufs2-standalone.git $AUFSDIR - tar cf - $AUFSDIR | lzma e $TARBALL -si - cd $AUFSDIR && git checkout origin/aufs2.1-37 - cd $WOK/$PACKAGE - fi + tazwok get-src aufs --target=$AUFSDIR cp -a $AUFSDIR/Documentation $AUFSDIR/fs $AUFSDIR/include $src cp -a $AUFSDIR/*.patch $WOK/$PACKAGE/stuff # We need the real GNU patch