config.mk 1.68 KB
Newer Older
1 2
+plymouth: use/plymouth/full; @:

3
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
4 5 6
# and a few aliases
use/plymouth/live: use/plymouth/stage2; @:
use/plymouth/install2: use/plymouth/stage2; @:
7 8 9 10 11 12 13 14 15 16

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
17
ifeq (distro,$(IMAGE_CLASS))
18
use/plymouth/stage2: use/plymouth use/branding \
19
	use/stage2/kms
20 21 22
	@$(call add,STAGE1_PACKAGES_REGEXP,make-initrd-plymouth)
	@$(call add,STAGE1_BRANDING,bootsplash)
	@$(call add,STAGE2_BRANDING,bootsplash)
23
	@$(call add,STAGE2_BOOTARGS,quiet splash)
24 25 26
else
use/plymouth/stage2: use/plymouth use/branding; @:
endif
27

28 29 30 31 32
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)
33
	@$(call add,BASE_BOOTARGS,quiet)
34 35 36 37 38
	@$(call add,THE_KMODULES,drm)
else
use/plymouth/vm: use/plymouth; @:
endif

39 40
use/plymouth/base: use/plymouth/stage2 use/plymouth/vm \
	use/drm/full; @:
41
ifeq (distro,$(IMAGE_CLASS))
42
	@$(call add,INSTALL2_PACKAGES,installer-feature-setup-plymouth)
43
endif
44 45
	@$(call add,BASE_PACKAGES_REGEXP,make-initrd-plymouth cpio)
	@$(call add,THE_BRANDING,bootsplash)
46
	@$(call add,THE_PACKAGES,make-initrd-plymouth)
47
	@$(call add,BASE_BOOTARGS,splash)
48 49

use/plymouth/full: use/plymouth/stage2 use/plymouth/base; @:
50 51 52 53 54

else
use/plymouth use/plymouth/live use/plymouth/install2 use/plymouth/stage2 \
	use/plymouth/base use/plymouth/full: ; @:
endif