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

From: H. Peter Anvin
Date: Thu Feb 19 2009 - 13:04:31 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/