lkml.org 
[lkml]   [2016]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] CONFIG_GENERIC_BOOTABLE_CONFIG=y

* Michal Marek <mmarek@suse.cz> 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

\
 
 \ /
  Last update: 2016-01-19 11:41    [W:0.866 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site