]> git.baikalelectronics.ru Git - kernel.git/commit
tools: bootconfig: Add bootconfig command
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 10 Jan 2020 16:03:56 +0000 (01:03 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 13 Jan 2020 18:19:39 +0000 (13:19 -0500)
commit81e719e5d9d97c417e71958e1adaea7cfcfd9453
tree859764b9a481c2f383c07ac0f9c2b928fd0c18a5
parent874bf01c74ca9ad9dd223e473b93273226843765
tools: bootconfig: Add bootconfig command

Add "bootconfig" command which operates the bootconfig
config-data on initrd image.

User can add/delete/verify the boot config on initrd
image using this command.

e.g.
Add a boot config to initrd image
 # bootconfig -a myboot.conf /boot/initrd.img

Remove it.
 # bootconfig -d /boot/initrd.img

Or verify (and show) it.
 # bootconfig /boot/initrd.img

Link: http://lkml.kernel.org/r/157867223582.17873.14342161849213219982.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
[ Removed extra blank line at end of bootconfig.c ]
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
12 files changed:
MAINTAINERS
tools/Makefile
tools/bootconfig/.gitignore [new file with mode: 0644]
tools/bootconfig/Makefile [new file with mode: 0644]
tools/bootconfig/include/linux/bootconfig.h [new file with mode: 0644]
tools/bootconfig/include/linux/bug.h [new file with mode: 0644]
tools/bootconfig/include/linux/ctype.h [new file with mode: 0644]
tools/bootconfig/include/linux/errno.h [new file with mode: 0644]
tools/bootconfig/include/linux/kernel.h [new file with mode: 0644]
tools/bootconfig/include/linux/printk.h [new file with mode: 0644]
tools/bootconfig/include/linux/string.h [new file with mode: 0644]
tools/bootconfig/main.c [new file with mode: 0644]