Re: [RESEND][PATCH] config: Add Fedora config fragments

From: Linus Walleij
Date: Fri Apr 07 2017 - 03:41:19 EST


On Tue, Apr 4, 2017 at 12:19 AM, Laura Abbott <labbott@xxxxxxxxxx> wrote:

> Based on feedback, Fedora is a popular distribution for people who like
> to build their own kernels. To make this easier, add a set of
> reasonablly common config options for Fedora.
>
> fedora-core.config contains a base set of options that should work on a
> standard fedora system. fedora-fs.config and fedora-networking.config
> contain more options for those subsystems.
>
> Signed-off-by: Laura Abbott <labbott@xxxxxxxxxx>

I would use this, so:
Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

I hacked up fragments for using Arch Linux and I believe OpenWRT
could use fragments like this as well.

I think we should discuss feature splitting of the config fragments.

What is complicated with configs is finding the right kernel features
for the userspace you are doing. At one point, I don't remember where
or when, it was discussed adding a systemd config fragment, as it
is using a slew of non-optional kernel config options. Then other
distros using that could simply use that fragment to get it right.
I'm pretty sure the systemd deps are a subset of the Fedora config
for example.

I would think similar fragments could be good for e.g. wireless
networking, USB storage and such things where I for one found
it really annoying having to spend time finding the right Kconfig to
just get that rolling reasonably.

Yours,
Linus Walleij