mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas@biessmann.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] rules/kernel: switch to xz compression
Date: Sun, 08 Apr 2012 14:51:39 +0200	[thread overview]
Message-ID: <4F8189DB.3030502@biessmann.de> (raw)
In-Reply-To: <20120408084510.GH13585@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ßmann 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			:= linux-$(KERNEL_VERSION)
>>  KERNEL_MD5		:= $(call remove_quotes,$(PTXCONF_KERNEL_MD5))
>> -KERNEL_SUFFIX		:= tar.bz2

+KERNEL_SUFFIX := tar.$(call ptx/ifdef,
PTXCONF_KERNEL_XZ_COMPRESSION,xz,bz2)

>>  KERNEL_DIR		:= $(KERNEL_BDIR)/$(KERNEL)
>>  KERNEL_CONFIG		:= $(call remove_quotes, $(PTXDIST_PLATFORMCONFIGDIR)/$(PTXCONF_KERNEL_CONFIG))
>>  KERNEL_LICENSE		:= GPLv2

would that be better for existing BDPs?

regards

Andreas Bießmann

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2012-04-08 12:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-06 10:55 Andreas Bießmann
2012-04-08  8:45 ` Michael Olbrich
2012-04-08 12:51   ` Andreas Bießmann [this message]
2012-04-11 18:49     ` Michael Olbrich
2012-04-10 11:12 ` Bernhard Walle
2012-04-11 18:48   ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F8189DB.3030502@biessmann.de \
    --to=andreas@biessmann.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox