Re: [RFC] CONFIG_GENERIC_BOOTABLE_CONFIG=y
From: Linus Torvalds
Date: Tue Jan 19 2016 - 12:22:48 EST
On Tue, Jan 19, 2016 at 2:30 AM, Ingo Molnar <mingo@xxxxxxxxxx> wrote:
> So it should be something like:
> config GENERIC_BOOTABLE_CONFIG
> bool "Enable kernel options that are needed to boot typical Linux distributions"
> default y
> (I removed the 'SANE' naming as disabling this option is obviously not 'insane'.)
I think we should just make it distro-specific rather than claiming it
is generic (and inevitably failing).
So we could have a config option for SYSTEMD, which selects stuff
systemd wants, and then distros that use systemd can select that etc.
It shouldn't be about just bootability either. Some of the networking
options end up being security-critical (ie your firewall might not
work if you don't have the right options enabled, leaving you wide
open after you boot).
Done right, you should be able to
(a) select your CPU (and things like "do you want virtualization etc")
(b) select your distro
(c) select your drivers
and pretty much be done with it.