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

From: Masami Hiramatsu
Date: Sun Jan 19 2020 - 07:23:52 EST


On Sat, 18 Jan 2020 10:33:01 -0800
Randy Dunlap <rdunlap@xxxxxxxxxxxxx> 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@xxxxxxxxxx>