From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from hulk.biessmann.org ([62.75.166.25]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SGras-0005IE-KM for ptxdist@pengutronix.de; Sun, 08 Apr 2012 14:51:47 +0200 Received: from p4fd49e7d.dip.t-dialin.net ([79.212.158.125] helo=andreas-mbp.kleinbardorf.biessmann.tld) by hulk.biessmann.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1SGrao-0005fA-G2 for ptxdist@pengutronix.de; Sun, 08 Apr 2012 14:51:46 +0200 Message-ID: <4F8189DB.3030502@biessmann.de> Date: Sun, 08 Apr 2012 14:51:39 +0200 From: =?ISO-8859-1?Q?Andreas_Bie=DFmann?= MIME-Version: 1.0 References: <1333709729-67003-1-git-send-email-andreas@biessmann.de> <20120408084510.GH13585@pengutronix.de> In-Reply-To: <20120408084510.GH13585@pengutronix.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 Hi Michael, 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 use = 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? regards Andreas Bie=DFmann -- = ptxdist mailing list ptxdist@pengutronix.de