]> 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)
commit74b39037efa517b196fcf2e0070ceb15e91e5d44
tree777ff3359e26665ccb6385bb02f87f65fc3f3a66
parentbc9c8491dbd70cfb5d327014a40345739aef768c
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