mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
test/TEST-01-BASIC: make DEBUGTOOLS an environment variable
This commit is contained in:
parent
33a5e20ffa
commit
f7c05f7de6
@ -7,6 +7,8 @@ KVERSION=${KVERSION-$(uname -r)}
|
||||
|
||||
# Uncomment this to debug failures
|
||||
#DEBUGFAIL="systemd.unit=multi-user.target"
|
||||
DEBUGTOOLS="df free ls stty cat ps ln ip route dmesg dhclient mkdir cp ping dhclient strace less grep id tty touch du sort"
|
||||
|
||||
|
||||
run_qemu() {
|
||||
qemu-kvm \
|
||||
@ -196,10 +198,7 @@ EOF
|
||||
fi
|
||||
|
||||
# some helper tools for debugging
|
||||
dracut_install sh df free ls shutdown poweroff \
|
||||
stty cat ps ln ip route \
|
||||
mount dmesg dhclient mkdir cp ping dhclient \
|
||||
umount strace less grep id tty touch
|
||||
[[ $DEBUGTOOLS ]] && dracut_install $DEBUGTOOLS
|
||||
|
||||
# install ld.so.conf* and run ldconfig
|
||||
cp -a /etc/ld.so.conf* $initdir/etc
|
||||
|
Loading…
Reference in New Issue
Block a user