Skip to content

Commit d20f6b4

Browse files
mizummrostedt
authored andcommitted
ktest: update sample.conf for grub2bls
Update sample.conf for grub2bls Link: http://lkml.kernel.org/r/20190509213647.6276-7-msys.mizuma@gmail.com Signed-off-by: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 parent 00603cd commit d20f6b4

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

‎tools/testing/ktest/sample.conf‎

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,13 +349,13 @@
349349
# option to boot to with GRUB_REBOOT
350350
#GRUB_FILE = /boot/grub2/grub.cfg
351351

352-
# The tool for REBOOT_TYPE = grub2 to set the next reboot kernel
352+
# The tool for REBOOT_TYPE = grub2 or grub2bls to set the next reboot kernel
353353
# to boot into (one shot mode).
354354
# (default grub2_reboot)
355355
#GRUB_REBOOT = grub2_reboot
356356

357357
# The grub title name for the test kernel to boot
358-
# (Only mandatory if REBOOT_TYPE = grub or grub2)
358+
# (Only mandatory if REBOOT_TYPE = grub or grub2 or grub2bls)
359359
#
360360
# Note, ktest.pl will not update the grub menu.lst, you need to
361361
# manually add an option for the test. ktest.pl will search
@@ -374,6 +374,10 @@
374374
# do a: GRUB_MENU = 'Test Kernel'
375375
# For customizing, add your entry in /etc/grub.d/40_custom.
376376
#
377+
# For grub2bls, a search of "title"s are done. The menu is found
378+
# by searching for the contents of GRUB_MENU in the line that starts
379+
# with "title".
380+
#
377381
#GRUB_MENU = Test Kernel
378382

379383
# For REBOOT_TYPE = syslinux, the name of the syslinux executable
@@ -479,6 +483,11 @@
479483
# default (undefined)
480484
#POST_KTEST = ${SSH} ~/dismantle_test
481485

486+
# If you want to remove the kernel entry in Boot Loader Specification (BLS)
487+
# environment, use kernel-install command.
488+
# Here's the example:
489+
#POST_KTEST = ssh root@Test "/usr/bin/kernel-install remove $KERNEL_VERSION"
490+
482491
# The default test type (default test)
483492
# The test types may be:
484493
# build - only build the kernel, do nothing else
@@ -530,6 +539,11 @@
530539
# or on some systems:
531540
#POST_INSTALL = ssh user@target /sbin/dracut -f /boot/initramfs-test.img $KERNEL_VERSION
532541

542+
# If you want to add the kernel entry in Boot Loader Specification (BLS)
543+
# environment, use kernel-install command.
544+
# Here's the example:
545+
#POST_INSTALL = ssh root@Test "/usr/bin/kernel-install add $KERNEL_VERSION /boot/vmlinuz-$KERNEL_VERSION"
546+
533547
# If for some reason you just want to boot the kernel and you do not
534548
# want the test to install anything new. For example, you may just want
535549
# to boot test the same kernel over and over and do not want to go through
@@ -593,6 +607,8 @@
593607
# For REBOOT_TYPE = grub2, you must define both GRUB_MENU and
594608
# GRUB_FILE.
595609
#
610+
# For REBOOT_TYPE = grub2bls, you must define GRUB_MENU.
611+
#
596612
# For REBOOT_TYPE = syslinux, you must define SYSLINUX_LABEL, and
597613
# perhaps modify SYSLINUX (default extlinux) and SYSLINUX_PATH
598614
# (default /boot/extlinux)

0 commit comments

Comments
 (0)