mkimage-profiles/features.in/branding/config.mk
Michael Shigorin b7ed438fab branding: avoid bootloader on non-grub arches
SYSLINUX happens where GRUB happens too, just in case.

The problem at hand is that some branding-*-bootloader tend to
*create* /etc/sysconfig/grub2 without bothering to check that it
existed, thus confusing the subsequent scripts (e.g. 65-serial.sh
tries to run update-grub that's just absent then).
2020-08-31 14:24:59 +03:00

30 lines
934 B
Makefile

# NB: release part of branding goes to install2 feature
use/branding:
@$(call add_feature)
# license notes, if any
use/branding/notes: use/branding
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call add,THE_BRANDING,notes)
endif
# NB: not every distro might have all the branding of its own
use/branding/full: use/branding/notes use/syslinux/ui/gfxboot \
use/grub/ui/gfxboot
@$(call add,THE_BRANDING,alterator graphics)
@$(call add,THE_BRANDING,indexhtml slideshow)
ifeq (,$(filter-out i586 x86_64 aarch64,$(ARCH)))
@$(call add,THE_BRANDING,bootloader)
endif
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call add,THE_BRANDING,bootsplash)
endif
use/branding/complete: use/branding/full use/plymouth/full
@$(call add,INSTALL2_BRANDING,notes slideshow)
# http://altlinux.org/branding/slideshow
use/branding/slideshow/once: use/branding
@$(call add,INSTALL2_BRANDING_SLIDESHOW,once:true)
@$(call xport,INSTALL2_BRANDING_SLIDESHOW)