mkimage-profiles/features.in/plymouth/config.mk

54 lines
1.7 KiB
Makefile
Raw Normal View History

+plymouth: use/plymouth/full; @:
2020-02-19 18:01:35 +03:00
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
# and a few aliases
use/plymouth/live: use/plymouth/stage2; @:
use/plymouth/install2: use/plymouth/stage2; @:
use/plymouth:
@$(call add_feature)
# NB: *_REGEXP due to branding() using regexp and the
# dependency resolution having to occur within a
# single transaction (due to plymouth-system-theme)
# looks like there's no sense to pull in progressbars
# while leaving the very basic text bootloader screen
ifeq (distro,$(IMAGE_CLASS))
use/plymouth/stage2: use/plymouth use/branding \
2019-07-09 13:40:27 +03:00
use/stage2/kms
@$(call add,STAGE1_PACKAGES_REGEXP,make-initrd-plymouth)
@$(call add,STAGE1_BRANDING,bootsplash)
@$(call add,STAGE2_BRANDING,bootsplash)
@$(call add,STAGE2_BOOTARGS,quiet splash)
else
use/plymouth/stage2: use/plymouth use/branding; @:
endif
2020-02-19 21:33:26 +03:00
ifeq (vm,$(IMAGE_CLASS))
use/plymouth/vm: use/plymouth use/branding use/kernel/initrd-setup
@$(call add,VM_INITRDFEATURES,plymouth)
@$(call add,THE_BRANDING,bootsplash)
@$(call add,THE_PACKAGES_REGEXP,make-initrd-plymouth)
@$(call add,BASE_BOOTARGS,quiet splash)
@$(call add,THE_KMODULES,drm)
else
use/plymouth/vm: use/plymouth; @:
endif
use/plymouth/base: use/plymouth/stage2 use/plymouth/vm
ifeq (distro,$(IMAGE_CLASS))
@$(call add,INSTALL2_PACKAGES,installer-feature-setup-plymouth)
endif
@$(call add,BASE_PACKAGES_REGEXP,make-initrd-plymouth cpio)
@$(call add,BASE_KMODULES_REGEXP,drm.*)
@$(call add,THE_BRANDING,bootsplash)
@$(call add,THE_PACKAGES,make-initrd-plymouth)
use/plymouth/full: use/plymouth/stage2 use/plymouth/base; @:
2020-02-19 18:01:35 +03:00
else
use/plymouth use/plymouth/live use/plymouth/install2 use/plymouth/stage2 \
use/plymouth/base use/plymouth/full: ; @:
endif