From patchwork Sat Jan 5 00:28:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brad Smith X-Patchwork-Id: 209579 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B5C912C008D for ; Sat, 5 Jan 2013 11:28:37 +1100 (EST) Received: from localhost ([::1]:44379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrHcp-0004IO-8K for incoming@patchwork.ozlabs.org; Fri, 04 Jan 2013 19:28:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrHcc-0004Bw-Vz for qemu-devel@nongnu.org; Fri, 04 Jan 2013 19:28:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrHcb-0005RC-UG for qemu-devel@nongnu.org; Fri, 04 Jan 2013 19:28:22 -0500 Received: from speedy.comstyle.com ([2001:470:1d:8c::2]:27071 helo=mail.comstyle.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrHcb-0005QI-QQ for qemu-devel@nongnu.org; Fri, 04 Jan 2013 19:28:21 -0500 Received: from rox.home.comstyle.com (unknown [IPv6:2001:470:b01e:3:4c04:9449:4de5:5053]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: brad) by mail.comstyle.com (Postfix) with ESMTPSA id 577EC2AEEC for ; Fri, 4 Jan 2013 19:28:08 -0500 (EST) Date: Fri, 4 Jan 2013 19:28:07 -0500 From: Brad Smith To: qemu-devel@nongnu.org Message-ID: <20130105002806.GC11220@rox.home.comstyle.com> References: <20120802100815.GG18868@rox.home.comstyle.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120802100815.GG18868@rox.home.comstyle.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-comstyle-MailScanner-Information: Please contact the ISP for more information X-comstyle-MailScanner-ID: 577EC2AEEC.A92F5 X-comstyle-MailScanner: Found to be clean X-comstyle-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-2.9, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-comstyle-MailScanner-From: brad@comstyle.com X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:470:1d:8c::2 Subject: Re: [Qemu-devel] [PATCH] build: change dist target to use xz X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org On Thu, Aug 02, 2012 at 06:08:15AM -0400, Brad Smith wrote: > If a compression format other than gzip is used we might > as well move to xz instead of bzip2. 11.8M qemu-1.3.0.tar.gz 9.8M qemu-1.3.0.tar.bz2 7.8M qemu-1.3.0.tar.xz diff --git a/Makefile b/Makefile index a7ac04b..9073a86 100644 --- a/Makefile +++ b/Makefile @@ -251,10 +251,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}