diff --git a/test/make-test-root b/test/make-test-root index 76869f41..8c54f8d1 100755 --- a/test/make-test-root +++ b/test/make-test-root @@ -9,16 +9,16 @@ initdir=test/mnt kernel=$(uname -r) ( . ./dracut-functions - dracut_install sh df free ls shutdown poweroff stty cat ps ln \ - /lib/terminfo/l/linux mount dmesg + dracut_install sh df free ls shutdown poweroff stty cat ps ln ip route \ + /lib/terminfo/l/linux mount dmesg ifconfig dhclient mkdir cp ping inst test/test-init /sbin/init - (cd "$initdir"; mkdir -p dev sys proc etc) + (cd "$initdir"; mkdir -p dev sys proc etc var/run) ) targetfs="$initdir" unset initdir umount test/mnt -rmdir test/mnt +rm -fr test/mnt #./dracut -l -i "$targetfs" /source \ # -m "dash kernel-modules test crypt lvm udev-rules base rootfs-block" \