From: Harald Hoyer Date: Wed, 20 May 2009 12:58:55 +0000 (+0200) Subject: quit plymouth in test root X-Git-Tag: 0.1~223 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b8b7c59cf77531b964b9801b7b49174e5fda536;p=platform%2Fupstream%2Fdracut.git quit plymouth in test root --- diff --git a/test/dracut.conf.test b/test/dracut.conf.test index ad0ae02..be11825 100644 --- a/test/dracut.conf.test +++ b/test/dracut.conf.test @@ -1,3 +1,3 @@ #dracutmodules="base crypt lvm kernel-modules debug resume rootfs-block udev-rules network NFS" -omit_dracutmodules="plymouth" +#omit_dracutmodules="plymouth" #modules="ata_piix ext2 sd_mod" diff --git a/test/make-test-root b/test/make-test-root index 945bd82..de03762 100755 --- a/test/make-test-root +++ b/test/make-test-root @@ -15,6 +15,7 @@ kernel=$(uname -r) inst "modules.d/40network/ifup" "/sbin/ifup" dracut_install grep inst test/test-init /sbin/init + find_binary plymouth >/dev/null && dracut_install plymouth (cd "$initdir"; mkdir -p dev sys proc etc var/run tmp ) ) targetfs="$initdir" diff --git a/test/test-init b/test/test-init index fbcdec4..0efd896 100755 --- a/test/test-init +++ b/test/test-init @@ -7,6 +7,7 @@ stty sane echo "made it to the rootfs!" echo 3 >/proc/sys/vm/drop_caches free +[ -x /bin/plymouth ] && /bin/plymouth quit sh -i mount -n -o remount,ro / -poweroff -f \ No newline at end of file +poweroff -f