From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TslJY-0008N7-Dz for qemu-devel@nongnu.org; Tue, 08 Jan 2013 21:22:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TslJX-00041j-Ai for qemu-devel@nongnu.org; Tue, 08 Jan 2013 21:22:48 -0500 Received: from mail-oa0-f42.google.com ([209.85.219.42]:36616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TslJX-00041d-5t for qemu-devel@nongnu.org; Tue, 08 Jan 2013 21:22:47 -0500 Received: by mail-oa0-f42.google.com with SMTP id j1so511686oag.15 for ; Tue, 08 Jan 2013 18:22:46 -0800 (PST) From: Anthony Liguori In-Reply-To: <20120802100815.GG18868@rox.home.comstyle.com> References: <20120802100815.GG18868@rox.home.comstyle.com> Date: Tue, 08 Jan 2013 20:22:42 -0600 Message-ID: <87d2xfccy5.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH] build: change dist target to use xz List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Brad Smith , qemu-devel@nongnu.org Brad Smith writes: > If a compression format other than gzip is used we might > as well move to xz instead of bzip2. xz support was introduced in tar only in 2009. We only expose one source tarball and I don't think relying on something so new is a good idea. Regards, Anthoyn Liguori > > 11.0M qemu-1.1.1-1.tar.gz > 9.2M qemu-1.1.1-1.tar.bz2 > 7.3M qemu-1.1.1-1.tar.xz > > --- > Makefile | 6 +++--- > scripts/make-release | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/Makefile b/Makefile > index 621cb86..9fbaa0e 100644 > --- a/Makefile > +++ b/Makefile > @@ -234,10 +234,10 @@ clean: > > VERSION ?= $(shell cat VERSION) > > -dist: qemu-$(VERSION).tar.bz2 > +dist: qemu-$(VERSION).tar.xz > > -qemu-%.tar.bz2: > - $(SRC_PATH)/scripts/make-release "$(SRC_PATH)" "$(patsubst qemu-%.tar.bz2,%,$@)" > +qemu-%.tar.xz: > + $(SRC_PATH)/scripts/make-release "$(SRC_PATH)" "$(patsubst qemu-%.tar.xz,%,$@)" > > distclean: clean > rm -f config-host.mak config-host.h* config-host.ld $(DOCS) qemu-options.texi qemu-img-cmds.texi qemu-monitor.texi > diff --git a/scripts/make-release b/scripts/make-release > index 196c755..2237afd 100755 > --- a/scripts/make-release > +++ b/scripts/make-release > @@ -20,5 +20,5 @@ git checkout "v${version}" > git submodule update --init > rm -rf .git roms/*/.git > popd > -tar cfj ${destination}.tar.bz2 ${destination} > +XZ_OPT=-9 tar cfJ ${destination}.tar.xz ${destination} > rm -rf ${destination} > -- > 1.7.6 > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean.