mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] rules/kernel: switch to xz compression
Date: Wed, 11 Apr 2012 20:49:13 +0200	[thread overview]
Message-ID: <20120411184913.GM32294@pengutronix.de> (raw)
In-Reply-To: <4F8189DB.3030502@biessmann.de>

On Sun, Apr 08, 2012 at 02:51:39PM +0200, Andreas Bießmann wrote:
> 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?

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

  reply	other threads:[~2012-04-11 18:49 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
2012-04-11 18:49     ` Michael Olbrich [this message]
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=20120411184913.GM32294@pengutronix.de \
    --to=m.olbrich@pengutronix.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