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
[email protected]

Reply via email to