mirror of
https://github.com/systemd/systemd
synced 2024-09-15 22:30:22 +00:00
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.
This commit is contained in:
parent
36c957959d
commit
4be4833ece
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue