summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-boot-editor-help.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-12-13 16:02:12 +0800
committerJeremy Kerr <jk@ozlabs.org>2014-01-31 08:46:34 +0800
commit4051815230f443ac4b052a4cf0f55a951e3f88c8 (patch)
treea84acac57e9b81dd9b1ddfec65c4e314926e7125 /ui/ncurses/nc-boot-editor-help.c
parentc6dad307d1c305015066e179d392fae695b8cf08 (diff)
downloadtalos-petitboot-4051815230f443ac4b052a4cf0f55a951e3f88c8.tar.gz
talos-petitboot-4051815230f443ac4b052a4cf0f55a951e3f88c8.zip
ui/ncurses: Add help to boot editor screen
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-boot-editor-help.c')
-rw-r--r--ui/ncurses/nc-boot-editor-help.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/ui/ncurses/nc-boot-editor-help.c b/ui/ncurses/nc-boot-editor-help.c
new file mode 100644
index 0000000..3f0c7fb
--- /dev/null
+++ b/ui/ncurses/nc-boot-editor-help.c
@@ -0,0 +1,24 @@
+const char *boot_editor_help_text = "\
+This screen allows you to edit or create boot options.\n\
+\n\
+Device: This is a list of block devices available on the system. Select \
+the device which contains your boot resources (kernel, initrd and device \
+tree), or \"Specify paths/URLs manually\" to use full URLs to the boot \
+resources.\n\
+\n\
+Kernel: enter the path to the kernel to boot. This field is mandatory. \
+This should be a kernel image that the kexec utility can handle. Generally, \
+this will be a 'vmlinux'-type image.\n\
+Example: /boot/vmlinux\n\
+\n\
+Initrd: enter the path to the initial RAM disk image. This is optional.\n\
+Example: /boot/initrd.img\n\
+\n\
+Device tree: enter the path to the device tree blob file (.dtb). \
+This is optional; if not specified, and your platform currently provides \
+a device tree, the current one will be used.\n\
+Example: /boot/device-tree.dtb\n\
+\n\
+Boot arguments: enter the kernel command-line arguments. This is optional.\n\
+Example: root=/dev/sda1 console=hvc0\n\
+\n";
OpenPOWER on IntegriCloud