Commit 923a02f0 authored by Anton Midyukov's avatar Anton Midyukov

plymouth: add feature plymouth to initrd.mk for rootfs

parent 855b4a32
......@@ -32,7 +32,6 @@ endif
@$(call add,THE_BRANDING,bootsplash graphics)
@$(call add,THE_PACKAGES,make-initrd-plymouth cpio)
ifeq (vm,$(IMAGE_CLASS))
@$(call add,VM_INITRDFEATURES,plymouth)
@$(call add,BASE_BOOTARGS,quiet loglevel=3 splash)
endif
......
......@@ -6,5 +6,10 @@ if [ -f "$CONFIG" ]; then
grep -q '^Theme=' "$CONFIG" || sed -i 's/#\([T\[]\)/\1/' "$CONFIG"
fi
CONFIG="$destdir/etc/initrd.mk"
if [ -f "$CONFIG" ]; then
grep -q plymouth "$CONFIG" || echo 'FEATURES += plymouth' >> "$CONFIG"
fi
cp -a /usr/share/plymouth/default-install-duration \
/var/lib/plymouth/boot-duration ||:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment