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

Since the current kernel command line is too short to describe
long and many options for init (e.g. systemd command line options),
this allows admin to use boot config for init command line.

All init command line under "init." keywords will be passed to
init.

For example,

init.systemd {
unified_cgroup_hierarchy = 1
debug_shell
default_timeout_start_sec = 60
}

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