34 lines
947 B
Diff
34 lines
947 B
Diff
|
From 46720f5ef87f7565d999787a15a78096c0ac593c Mon Sep 17 00:00:00 2001
|
||
|
From: Michael Chang <mchang@suse.com>
|
||
|
Date: Fri, 8 Nov 2024 13:01:07 +0800
|
||
|
Subject: [PATCH] 10_linux: Do not enable BLSCFG on s390-emu
|
||
|
|
||
|
GRUB_ENABLE_BLSCFG may be enabled by some image builders for some reason
|
||
|
without knowing it is not ready for a given platform. Here we force it
|
||
|
to be disabled on s390-emu as it is not ready and has reported issues.
|
||
|
|
||
|
Signed-off-by: Michael Chang <mchang@suse.com>
|
||
|
---
|
||
|
util/grub.d/10_linux.in | 5 +++++
|
||
|
1 file changed, 5 insertions(+)
|
||
|
|
||
|
diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
|
||
|
index f5c80798e..3157b0d97 100644
|
||
|
--- a/util/grub.d/10_linux.in
|
||
|
+++ b/util/grub.d/10_linux.in
|
||
|
@@ -279,6 +279,11 @@ else
|
||
|
esac
|
||
|
fi
|
||
|
|
||
|
+# Workaround KIWI sets GRUB_ENABLE_BLSCFG=true in s390-emu
|
||
|
+if [ "x${PLATFORM}" = "xemu" ]; then
|
||
|
+ GRUB_ENABLE_BLSCFG=false
|
||
|
+fi
|
||
|
+
|
||
|
prepare_boot_cache=
|
||
|
prepare_root_cache=
|
||
|
boot_device_id=
|
||
|
--
|
||
|
2.47.0
|
||
|
|