Commit d20f6b41 authored by Masayoshi Mizuma's avatar Masayoshi Mizuma Committed by Steven Rostedt (VMware)

ktest: update sample.conf for grub2bls

Update sample.conf for grub2bls

Link: http://lkml.kernel.org/r/20190509213647.6276-7-msys.mizuma@gmail.comSigned-off-by: default avatarMasayoshi Mizuma <m.mizuma@jp.fujitsu.com>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 00603cd6
...@@ -349,13 +349,13 @@ ...@@ -349,13 +349,13 @@
# option to boot to with GRUB_REBOOT # option to boot to with GRUB_REBOOT
#GRUB_FILE = /boot/grub2/grub.cfg #GRUB_FILE = /boot/grub2/grub.cfg
# The tool for REBOOT_TYPE = grub2 to set the next reboot kernel # The tool for REBOOT_TYPE = grub2 or grub2bls to set the next reboot kernel
# to boot into (one shot mode). # to boot into (one shot mode).
# (default grub2_reboot) # (default grub2_reboot)
#GRUB_REBOOT = grub2_reboot #GRUB_REBOOT = grub2_reboot
# The grub title name for the test kernel to boot # The grub title name for the test kernel to boot
# (Only mandatory if REBOOT_TYPE = grub or grub2) # (Only mandatory if REBOOT_TYPE = grub or grub2 or grub2bls)
# #
# Note, ktest.pl will not update the grub menu.lst, you need to # Note, ktest.pl will not update the grub menu.lst, you need to
# manually add an option for the test. ktest.pl will search # manually add an option for the test. ktest.pl will search
...@@ -374,6 +374,10 @@ ...@@ -374,6 +374,10 @@
# do a: GRUB_MENU = 'Test Kernel' # do a: GRUB_MENU = 'Test Kernel'
# For customizing, add your entry in /etc/grub.d/40_custom. # For customizing, add your entry in /etc/grub.d/40_custom.
# #
# For grub2bls, a search of "title"s are done. The menu is found
# by searching for the contents of GRUB_MENU in the line that starts
# with "title".
#
#GRUB_MENU = Test Kernel #GRUB_MENU = Test Kernel
# For REBOOT_TYPE = syslinux, the name of the syslinux executable # For REBOOT_TYPE = syslinux, the name of the syslinux executable
...@@ -479,6 +483,11 @@ ...@@ -479,6 +483,11 @@
# default (undefined) # default (undefined)
#POST_KTEST = ${SSH} ~/dismantle_test #POST_KTEST = ${SSH} ~/dismantle_test
# If you want to remove the kernel entry in Boot Loader Specification (BLS)
# environment, use kernel-install command.
# Here's the example:
#POST_KTEST = ssh root@Test "/usr/bin/kernel-install remove $KERNEL_VERSION"
# The default test type (default test) # The default test type (default test)
# The test types may be: # The test types may be:
# build - only build the kernel, do nothing else # build - only build the kernel, do nothing else
...@@ -530,6 +539,11 @@ ...@@ -530,6 +539,11 @@
# or on some systems: # or on some systems:
#POST_INSTALL = ssh user@target /sbin/dracut -f /boot/initramfs-test.img $KERNEL_VERSION #POST_INSTALL = ssh user@target /sbin/dracut -f /boot/initramfs-test.img $KERNEL_VERSION
# If you want to add the kernel entry in Boot Loader Specification (BLS)
# environment, use kernel-install command.
# Here's the example:
#POST_INSTALL = ssh root@Test "/usr/bin/kernel-install add $KERNEL_VERSION /boot/vmlinuz-$KERNEL_VERSION"
# If for some reason you just want to boot the kernel and you do not # If for some reason you just want to boot the kernel and you do not
# want the test to install anything new. For example, you may just want # want the test to install anything new. For example, you may just want
# to boot test the same kernel over and over and do not want to go through # to boot test the same kernel over and over and do not want to go through
...@@ -593,6 +607,8 @@ ...@@ -593,6 +607,8 @@
# For REBOOT_TYPE = grub2, you must define both GRUB_MENU and # For REBOOT_TYPE = grub2, you must define both GRUB_MENU and
# GRUB_FILE. # GRUB_FILE.
# #
# For REBOOT_TYPE = grub2bls, you must define GRUB_MENU.
#
# For REBOOT_TYPE = syslinux, you must define SYSLINUX_LABEL, and # For REBOOT_TYPE = syslinux, you must define SYSLINUX_LABEL, and
# perhaps modify SYSLINUX (default extlinux) and SYSLINUX_PATH # perhaps modify SYSLINUX (default extlinux) and SYSLINUX_PATH
# (default /boot/extlinux) # (default /boot/extlinux)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment