quit plymouth in test root

This commit is contained in:
Harald Hoyer 2009-05-20 14:58:55 +02:00
parent 9a4495557f
commit 4b8b7c59cf
3 changed files with 4 additions and 2 deletions

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

View File

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

View File

@ -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
poweroff -f