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" \