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).
This commit is contained in:
parent
0225b2549f
commit
b7ed438fab
@ -11,8 +11,11 @@ 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 bootloader graphics)
|
||||
@$(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
|
||||
|
Loading…
x
Reference in New Issue
Block a user