plymouth: add feature plymouth to initrd.mk for rootfs
This commit is contained in:
parent
855b4a3273
commit
923a02f07b
@ -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 ||:
|
||||
|
Loading…
Reference in New Issue
Block a user