aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/ktest/sample.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/ktest/sample.conf')
-rw-r--r--tools/testing/ktest/sample.conf26
1 files changed, 24 insertions, 2 deletions
diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf
index de28a0a3b8fc..57617ec88c3b 100644
--- a/tools/testing/ktest/sample.conf
+++ b/tools/testing/ktest/sample.conf
@@ -332,8 +332,18 @@
332# from other linux builds on the system. 332# from other linux builds on the system.
333#LOCALVERSION = -test 333#LOCALVERSION = -test
334 334
335# For REBOOT_TYPE = grub2, you must specify where the grub.cfg
336# file is. This is the file that is searched to find the menu
337# option to boot to with GRUB_REBOOT
338#GRUB_FILE = /boot/grub2/grub.cfg
339
340# The tool for REBOOT_TYPE = grub2 to set the next reboot kernel
341# to boot into (one shot mode).
342# (default grub2_reboot)
343#GRUB_REBOOT = grub2_reboot
344
335# The grub title name for the test kernel to boot 345# The grub title name for the test kernel to boot
336# (Only mandatory if REBOOT_TYPE = grub) 346# (Only mandatory if REBOOT_TYPE = grub or grub2)
337# 347#
338# Note, ktest.pl will not update the grub menu.lst, you need to 348# Note, ktest.pl will not update the grub menu.lst, you need to
339# manually add an option for the test. ktest.pl will search 349# manually add an option for the test. ktest.pl will search
@@ -343,6 +353,15 @@
343# For example, if in the /boot/grub/menu.lst the test kernel title has: 353# For example, if in the /boot/grub/menu.lst the test kernel title has:
344# title Test Kernel 354# title Test Kernel
345# kernel vmlinuz-test 355# kernel vmlinuz-test
356#
357# For grub2, a search of top level "menuentry"s are done. No
358# submenu is searched. The menu is found by searching for the
359# contents of GRUB_MENU in the line that starts with "menuentry".
360# You may want to include the quotes around the option. For example:
361# for: menuentry 'Test Kernel'
362# do a: GRUB_MENU = 'Test Kernel'
363# For customizing, add your entry in /etc/grub.d/40_custom.
364#
346#GRUB_MENU = Test Kernel 365#GRUB_MENU = Test Kernel
347 366
348# A script to reboot the target into the test kernel 367# A script to reboot the target into the test kernel
@@ -497,7 +516,7 @@
497#POST_BUILD_DIE = 1 516#POST_BUILD_DIE = 1
498 517
499# Way to reboot the box to the test kernel. 518# Way to reboot the box to the test kernel.
500# Only valid options so far are "grub" and "script" 519# Only valid options so far are "grub", "grub2" and "script"
501# (default grub) 520# (default grub)
502# If you specify grub, it will assume grub version 1 521# If you specify grub, it will assume grub version 1
503# and will search in /boot/grub/menu.lst for the title $GRUB_MENU 522# and will search in /boot/grub/menu.lst for the title $GRUB_MENU
@@ -505,6 +524,9 @@
505# your setup, then specify "script" and have a command or script 524# your setup, then specify "script" and have a command or script
506# specified in REBOOT_SCRIPT to boot to the target. 525# specified in REBOOT_SCRIPT to boot to the target.
507# 526#
527# For REBOOT_TYPE = grub2, you must define both GRUB_MENU and
528# GRUB_FILE.
529#
508# The entry in /boot/grub/menu.lst must be entered in manually. 530# The entry in /boot/grub/menu.lst must be entered in manually.
509# The test will not modify that file. 531# The test will not modify that file.
510#REBOOT_TYPE = grub 532#REBOOT_TYPE = grub