]> 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)
commitb5ce1bcefd314704822aa1a152f838299d622eb8
treea3cf7d78c111f45b73d0a55df059017590823806
parenta2e76256f148543cde1ce40ab1d93e7e8cfbfa6a
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