summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2015-02-02 00:19:28 +0100
committerHarald Hoyer <harald@redhat.com>2015-02-03 09:50:45 +0100
commit4be4833ece2856e0cacc09f8f8b2c02b320751fa (patch)
tree449fda06c33cbc9379e6e098ef021bbe85e78328
parent36c957959dc11ae7176c5ed07a03ca370014899b (diff)
tests: Make sushell optional in image creation
sushell does not exist in all distributions, and it can be changed with configure --with-debug-shell, so make installation of it optional.
-rw-r--r--test/test-functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-functions b/test/test-functions
index 4fa0c59f2d..91f3ecd52b 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -7,7 +7,7 @@ export PATH
KERNEL_VER=${KERNEL_VER-$(uname -r)}
KERNEL_MODS="/lib/modules/$KERNEL_VER/"
-BASICTOOLS="sh bash setsid loadkeys setfont login sushell sulogin gzip sleep echo mount umount cryptsetup date dmsetup modprobe"
+BASICTOOLS="sh bash setsid loadkeys setfont login sulogin gzip sleep echo mount umount cryptsetup date dmsetup modprobe"
DEBUGTOOLS="df free ls stty cat ps ln ip route dmesg dhclient mkdir cp ping dhclient strace less grep id tty touch du sort"
function find_qemu_bin() {
@@ -227,6 +227,7 @@ EOF
install_basic_tools() {
[[ $BASICTOOLS ]] && dracut_install $BASICTOOLS
+ dracut_install -o sushell
}
install_debug_tools() {