[PATCH 1/3] bootconfig: Fix Kconfig help message for BOOT_CONFIG

From: Masami Hiramatsu
Date: Sun Jan 19 2020 - 22:23:09 EST


Fix Kconfig help message since the bootconfig file is
only available to be appended to initramfs. And also
add a reference to the documentation.

Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Signed-off-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
---
init/Kconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/init/Kconfig b/init/Kconfig
index ffd240fb88c3..9506299a53e3 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1223,7 +1223,9 @@ config BOOT_CONFIG
help
Extra boot config allows system admin to pass a config file as
complemental extension of kernel cmdline when booting.
- The boot config file is usually attached at the end of initramfs.
+ The boot config file must be attached at the end of initramfs
+ with checksum and size.
+ See <file:Documentation/admin-guide/bootconfig.rst> for details.

If unsure, say Y.