Re: [PATCH] initramfs: do not show compression mode choice if INITRAMFS_SOURCE is empty

From: Linus Torvalds
Date: Mon Feb 03 2020 - 12:35:31 EST


On Mon, Feb 3, 2020 at 4:47 PM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
> This commit hides the Kconfig choice in that case. The default cpio
> is embedded without compression, which was the original behavior.

Btw, is there any way to figure out automatically what the initrd
compression is (for the external case)?

Because I think it would be lovely to be able to have sane defaults
for the CONFIG_RD_xyz things.

I'm assuming the answer is "no", simply because it comes from distro
installs, but I thought I'd check.

Linus