Browse Source

install more binaries and directories in the test root

master
Harald Hoyer 16 years ago
parent
commit
e4d48c451a
  1. 8
      test/make-test-root

8
test/make-test-root

@ -9,16 +9,16 @@ initdir=test/mnt @@ -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" \

Loading…
Cancel
Save