diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-11-02 14:58:33 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-11-18 11:23:08 -0500 |
commit | 8b37ca8cac46b2c108386e3901cc8611dc81c7aa (patch) | |
tree | db2afe35d5579f8ec7631dac6eaef0ecccafbe00 /tools/testing/ktest/sample.conf | |
parent | a75fececff3cc1e86d74e98de634ea2ed1b47697 (diff) |
ktest: Add POST_INSTALL to allow initrds to be created
Add a POST_INSTALL option that runs after the build and install
but before rebooting to the test kernel. This alls the user to
run a script that will install an initrd (or anything else that may
be special) before booting.
An environment variable KERNEL_VERSION is set.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/ktest/sample.conf')
-rw-r--r-- | tools/testing/ktest/sample.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf index 42f803fe4a8..0115a6762a6 100644 --- a/tools/testing/ktest/sample.conf +++ b/tools/testing/ktest/sample.conf | |||
@@ -93,6 +93,11 @@ | |||
93 | # If you are building a 32bit x86 on a 64 bit host | 93 | # If you are building a 32bit x86 on a 64 bit host |
94 | #MAKE_CMD = CC=i386-gcc AS=i386-as make ARCH=i386 | 94 | #MAKE_CMD = CC=i386-gcc AS=i386-as make ARCH=i386 |
95 | 95 | ||
96 | # If you need an initrd, you can add a script or code here to install | ||
97 | # it. The environment variable KERNEL_VERSION will be set to the | ||
98 | # kernel version that is used. | ||
99 | #POST_INSTALL = ssh user@target /sbin/mkinitrd --allow-missing -f /boot/initramfs-test.img $KERNEL_VERSION | ||
100 | |||
96 | # Way to reboot the box to the test kernel. | 101 | # Way to reboot the box to the test kernel. |
97 | # Only valid options so far are "grub" and "script" | 102 | # Only valid options so far are "grub" and "script" |
98 | # (default grub) | 103 | # (default grub) |