Re: [RFC] CONFIG_GENERIC_BOOTABLE_CONFIG=y

From: Ingo Molnar
Date: Tue Jan 19 2016 - 05:30:57 EST



* Michal Marek <mmarek@xxxxxxx> wrote:

> On 2016-01-19 09:20, Ingo Molnar wrote:
> > In fact on x86 I'd suggest we go farther than that and add a core set of selects
> > that can be disabled only through a sufficiently scary "I really know I'm doing
> > something utmost weird" (and default disabled) config option.
>
> Agreed.
>
>
> > From my own randconfig testing I can give a core list of must-have kernel options,
> > without which most distros (Fedora, RHEL, Ubuntu, SuSE) won't boot properly:
> >
> > +config FORCE_MINIMALLY_SANE_CONFIG
> > + bool
> > + default y
>
> You should add a prompt so that the option can be disabled. Or make it
> default !EXPERT, to have a single "I know what I'm doing"-type of option.

Yeah, it sure should be interactive. This was pasted from my automated testing
that isn't interested in unbootable kernels.

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'.)

Thanks,

Ingo