quit plymouth in test root
authorHarald Hoyer <harald@redhat.com>
Wed, 20 May 2009 12:58:55 +0000 (14:58 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 20 May 2009 12:58:55 +0000 (14:58 +0200)
test/dracut.conf.test
test/make-test-root
test/test-init

index ad0ae02..be11825 100644 (file)
@@ -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"
index 945bd82..de03762 100755 (executable)
@@ -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"
index fbcdec4..0efd896 100755 (executable)
@@ -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