--- test/TEST-10-RAID/test-init | 10 ++++++++++ test/TEST-10-RAID/test.sh | 2 +- test/test-init | 10 ---------- 3 files changed, 11 insertions(+), 11 deletions(-) create mode 100755 test/TEST-10-RAID/test-init delete mode 100755 test/test-init diff --git a/test/TEST-10-RAID/test-init b/test/TEST-10-RAID/test-init new file mode 100755 index 0000000..ccdc9a4 --- /dev/null +++ b/test/TEST-10-RAID/test-init @@ -0,0 +1,10 @@ +#!/bin/sh +exec >/dev/console 2>&1 +echo "dracut-root-block-success" >/dev/sda1 +export TERM=linux +export PS1='initramfs-test:\w\$ ' +[ -f /etc/fstab ] || ln -s /proc/mounts /etc/fstab +stty sane +echo "made it to the rootfs! Powering down." +mount -n -o remount,ro / +poweroff -f diff --git a/test/TEST-10-RAID/test.sh b/test/TEST-10-RAID/test.sh index 59ae01e..501b03e 100755 --- a/test/TEST-10-RAID/test.sh +++ b/test/TEST-10-RAID/test.sh @@ -28,7 +28,7 @@ test_setup() { inst "$basedir/modules.d/40network/dhclient-script" "/sbin/dhclient-script" inst "$basedir/modules.d/40network/ifup" "/sbin/ifup" dracut_install grep - inst $testdir/test-init /sbin/init + inst ./test-init /sbin/init find_binary plymouth >/dev/null && dracut_install plymouth (cd "$initdir"; mkdir -p dev sys proc etc var/run tmp ) ) diff --git a/test/test-init b/test/test-init deleted file mode 100755 index ccdc9a4..0000000 --- a/test/test-init +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -exec >/dev/console 2>&1 -echo "dracut-root-block-success" >/dev/sda1 -export TERM=linux -export PS1='initramfs-test:\w\$ ' -[ -f /etc/fstab ] || ln -s /proc/mounts /etc/fstab -stty sane -echo "made it to the rootfs! Powering down." -mount -n -o remount,ro / -poweroff -f -- 1.6.2.2 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html