Re: tip: bzip2/lzma now in tip:x86/setup-lzma

H. Peter Anvin
2009-02-19T18:04:31Z

Alain Knaff wrote:
>
> Could you please elaborate why you consider this so wrong?
>

Because in some flows, a large initramfs is built without
CONFIG_INITRAMFS_SOURCE. More fundamentally, it's a bad case of trying
to guess what the user wants based on unrelated criteria than simply
making it configured.

What we should have done in the first place is to make the initrd
compression selectable just like the kernel compression, with the
additional option of uncompressed (which some people want for the main
kernel, by the way; we just don't have it at the moment.) I don't know
if we can set it up in Kconfig to default to the same compression as the
kernel uses, but more importantly we can constrain it to the supported
initrd compressions.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.