Re: [PATCH] modules: CONFIG_MODULE_COMPRESS: add hint that userspace support may easily be missing.
From: Lucas De Marchi
Date: Sun Jun 07 2015 - 02:19:27 EST
On Thu, Jun 4, 2015 at 5:22 PM, Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:
> Lucas De Marchi <lucas.de.marchi@xxxxxxxxx> writes:
>>> + gzip and xz (but doesn't by default, at least as of version 18!).
>>
>> This is pretty much misleading. There's no such a default option. It's
>> like saying kernel doesn't support feature X, Y or Z by default
>> because make defconfig doesn't turn them on.
>
> Nobody except Linus expects a defconfig to boot.
>
> I expect ./configure to give me a working tool; these *are* defaults,
> and setting them *is* your responsibility as author. When it became an
> in-kernel option rather than some weird distro thing, the old default
> was wrong.
>
> ... Though I hadn't realized that Marco had deliberately decided to
> leave support off. Surprising, since liblzma and libz seem required on
> Debian anyway.
As you can see, no default to something else will make distros adopt that.
I long ago decided not to provide a default for compression because it's
clearly not agreed upon. Instead it's everything disabled and the
distro chooses what it wants to support.
So if you think the configuration for your distro should be something else,
convince the maintainer to change it showing why it's important.
FYI I'm adding in kmod the ability to query the flags used during build. So
now we have:
$ ./tools/kmod --version
kmod version 20
+XZ +ZLIB -EXPERIMENTAL
This will be present in kmod 21
--
Lucas De Marchi
--
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/