]> git.baikalelectronics.ru Git - kernel.git/commit
tools/bootconfig: Show bootconfig compact tree from bootconfig file
authorMasami Hiramatsu <mhiramat@kernel.org>
Mon, 10 Aug 2020 08:34:41 +0000 (17:34 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 19 Sep 2020 02:17:13 +0000 (22:17 -0400)
commit920149f03dc6d176bc6f9c2c529c629c7cb1a5c5
tree777ff3359e26665ccb6385bb02f87f65fc3f3a66
parent33d345e410ac8b72f1ac84bf895be257c80a6c9e
tools/bootconfig: Show bootconfig compact tree from bootconfig file

Show the bootconfig compact tree from the bootconfig file
instead of an initrd if the given file has no magic number
and is smaller than 32KB.

User can use this for checking the syntax error or output
checking before applying the bootconfig to initrd.

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