From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SI2bR-0005gg-Sd for ptxdist@pengutronix.de; Wed, 11 Apr 2012 20:49:13 +0200 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1SI2bR-0000fp-RG for ptxdist@pengutronix.de; Wed, 11 Apr 2012 20:49:13 +0200 Date: Wed, 11 Apr 2012 20:49:13 +0200 From: Michael Olbrich Message-ID: <20120411184913.GM32294@pengutronix.de> References: <1333709729-67003-1-git-send-email-andreas@biessmann.de> <20120408084510.GH13585@pengutronix.de> <4F8189DB.3030502@biessmann.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4F8189DB.3030502@biessmann.de> Subject: Re: [ptxdist] [PATCH] rules/kernel: switch to xz compression Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Sun, Apr 08, 2012 at 02:51:39PM +0200, Andreas Bie=DFmann wrote: > On 08.04.12 10:45, Michael Olbrich wrote: > > On Fri, Apr 06, 2012 at 12:55:29PM +0200, Andreas Bie=DFmann wrote: > >> kernel is provided since 2.6.0 with xz compression. The main aim to us= e xz > >> compression here is to save significant space for local mirrors. > >> > >> linux-3.3.tar.bz2 is about 75 MiB > >> linux-3.3.tar.xz is about 63 MiB > >> -> saves about 15 % > > = > > True, and I like that too. However, if I apply this, all BSPs on ptxdist > > master will download a new kernel and complain about a wrong md5sum. > > But I guess, people using master should be able to deal with this. > = > So how about ... > = > >> index 336b76d..4a45a3f 100644 > >> --- a/rules/kernel.make > >> +++ b/rules/kernel.make > >> @@ -31,7 +31,7 @@ endif > >> # > >> KERNEL :=3D linux-$(KERNEL_VERSION) > >> KERNEL_MD5 :=3D $(call remove_quotes,$(PTXCONF_KERNEL_MD5)) > >> -KERNEL_SUFFIX :=3D tar.bz2 > = > +KERNEL_SUFFIX :=3D tar.$(call ptx/ifdef, > PTXCONF_KERNEL_XZ_COMPRESSION,xz,bz2) > = > >> KERNEL_DIR :=3D $(KERNEL_BDIR)/$(KERNEL) > >> KERNEL_CONFIG :=3D $(call remove_quotes, $(PTXDIST_PLATFORMCONFIGDIR= )/$(PTXCONF_KERNEL_CONFIG)) > >> KERNEL_LICENSE :=3D GPLv2 > = > would that be better for existing BDPs? No, unless there is a real problem I prefer a clean break. Michael -- = Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- = ptxdist mailing list ptxdist@pengutronix.de