mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-27 17:55:47 +03:00
quit plymouth in test root
This commit is contained in:
parent
9a4495557f
commit
4b8b7c59cf
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user