From 724d904cae49e73987665d958acaa67cfcbb0a39 Mon Sep 17 00:00:00 2001 From: Anton Midyukov Date: Tue, 16 Mar 2021 20:59:11 +0700 Subject: [PATCH] grub: restrict graphics mode to architectures i586, x86_64, aarch64 Not needed for other architectures. See-also: use/branding/full --- features.in/grub/config.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features.in/grub/config.mk b/features.in/grub/config.mk index 6ffe320d..8dcf92e5 100644 --- a/features.in/grub/config.mk +++ b/features.in/grub/config.mk @@ -13,10 +13,12 @@ endif # UI is overwritten use/grub/ui/%: use/grub @$(call set,GRUB_UI,$*) +ifeq (,$(filter-out i586 x86_64 aarch64,$(ARCH))) @if [ "$*" == gfxboot ]; then \ $(call add,STAGE1_BRANDING,bootloader); \ $(call add,STAGE1_PACKAGES,grub-common); \ fi +endif use/grub/%.cfg: use/grub @$(call add,GRUB_CFG,$*)