Re: [PATCH v6 01/22] bootconfig: Add Extra Boot Config support

Masami Hiramatsu
2020-01-19T12:23:50Z

On Sat, 18 Jan 2020 10:33:01 -0800
Randy Dunlap <rdunlap@infradead.org> wrote:

> On 1/10/20 8:03 AM, Masami Hiramatsu wrote:
> > diff --git a/init/Kconfig b/init/Kconfig
> > index a34064a031a5..63450d3bbf12 100644
> > --- a/init/Kconfig
> > +++ b/init/Kconfig
> > @@ -1215,6 +1215,17 @@ source "usr/Kconfig"
> >
> > endif
> >
> > +config BOOT_CONFIG
> > + bool "Boot config support"
> > + select LIBXBC
> > + default y
> > + help
> > + Extra boot config allows system admin to pass a config file as
> > + complemental extension of kernel cmdline when booting.
> > + The boot config file is usually attached at the end of initramfs.
>
> Is there some other location where it might be attached?
> Please explain.

Oops, good catch!
No, it supports only initramfs.

I missed to leave the comment written in planning phase.
I need to update it.

Thank you!

>
> > +
> > + If unsure, say Y.
> > +
> > choice
> > prompt "Compiler optimization level"
> > default CC_OPTIMIZE_FOR_PERFORMANCE
>
>
> --
> ~Randy

--
Masami Hiramatsu <mhiramat@kernel.org>