# HG changeset patch # User Christopher Rogers # Date 1295831300 0 # Node ID 026c4d1f88ba24e61954747741fbd9346087dfbe # Parent cd04ff1310185ed5064bd5d0cca9ab482f9acd17 Fixed aufs and linux to use lzma-alone for compressing aufs. diff -r cd04ff131018 -r 026c4d1f88ba aufs/receipt --- a/aufs/receipt Mon Jan 24 00:57:47 2011 +0000 +++ b/aufs/receipt Mon Jan 24 01:08:20 2011 +0000 @@ -1,14 +1,12 @@ # SliTaz package receipt. PACKAGE="aufs" -VERSION="20110122" +VERSION="20110124" CATEGORY="base-system" SHORT_DESC="aufs2 kernel module" MAINTAINER="slaxemulator@gmail.com" DEPENDS="linux" -# Needed for tazdev purge to not purge source everytime -TARBALL="$PACKAGE-$VERSION.tar.lzma" -BUILD_DEPENDS="linux-module-headers git tar" +BUILD_DEPENDS="linux-module-headers git" WEB_SITE="http://aufs.sf.net/" PROVIDE="linux-aufs" @@ -17,14 +15,21 @@ { local AUFSDIR="$PACKAGE-$VERSION" TARBALL=$SOURCES_REPOSITORY/$AUFSDIR.tar.lzma - [ -L /bin/tar ] && tazpkg get-install tar --forced if [ -f $TARBALL ]; then - tar -x -f $TARBALL + lzma-alone d $TARBALL $AUFSDIR.tar + tar xf $AUFSDIR.tar + if [ -f $AUFSDIR.tar ]; then + rm -f $AUFSDIR.tar + fi cd $AUFSDIR && git checkout origin/aufs2.1-37 else # Aufs2 from git repository git clone git://aufs.git.sourceforge.net/gitroot/aufs/aufs2-standalone.git $AUFSDIR - tar -c --lzma -f $TARBALL $AUFSDIR + tar cf $AUFSDIR.tar $AUFSDIR + lzma-alone e $AUFSDIR.tar $TARBALL + if [ -f $AUFSDIR.tar ]; then + rm -f $AUFSDIR.tar + fi cd $AUFSDIR && git checkout origin/aufs2.1-37 fi cd $src diff -r cd04ff131018 -r 026c4d1f88ba linux/receipt --- a/linux/receipt Mon Jan 24 00:57:47 2011 +0000 +++ b/linux/receipt Mon Jan 24 01:08:20 2011 +0000 @@ -24,15 +24,22 @@ local _AUFSVER=`grep ^VERSION= $WOK/aufs/receipt | cut -d "=" -f2 | sed -e 's/"//g'` local AUFSDIR="aufs-${_AUFSVER}" TARBALL=$SOURCES_REPOSITORY/$AUFSDIR.tar.lzma - [ -L /bin/tar ] && tazpkg get-install tar --forced if [ -f $TARBALL ]; then - tar -x -f $TARBALL + lzma-alone d $TARBALL $AUFSDIR.tar + tar xf $AUFSDIR.tar + if [ -f $AUFSDIR.tar ]; then + rm -f $AUFSDIR.tar + fi 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 -c --lzma -f $TARBALL $AUFSDIR + tar cf $AUFSDIR.tar $AUFSDIR + lzma-alone e $AUFSDIR.tar $TARBALL + if [ -f $AUFSDIR.tar ]; then + rm -f $AUFSDIR.tar + fi cd $AUFSDIR && git checkout origin/aufs2.1-37 cd $WOK/$PACKAGE fi