]> git.baikalelectronics.ru Git - kernel.git/commit
bootconfig: init: Allow admin to use bootconfig for kernel command line
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 10 Jan 2020 16:04:43 +0000 (01:04 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 13 Jan 2020 18:19:40 +0000 (13:19 -0500)
commit022da4f434747508299c6b9bea32c032d62a58c1
treebd3846c87577444389dda4c06fbd98b569adff0f
parent8516222028f2f83c2b68546e4f053ae865474502
bootconfig: init: Allow admin to use bootconfig for kernel command line

Since the current kernel command line is too short to describe
many options which supported by kernel, allow user to use boot
config to setup (add) the command line options.

All kernel parameters under "kernel." keywords will be used
for setting up extra kernel command line.

For example,

kernel {
audit = on
audit_backlog_limit = 256
}

Note that you can not specify some early parameters
(like console etc.) by this method, since it is
loaded after early parameters parsed.

Link: http://lkml.kernel.org/r/157867228333.17873.11962796367032622466.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
init/main.c