aboutsummaryrefslogtreecommitdiff
diff options
from:
to:
context:
space:
mode:
authorGravatar Neal Gompa <ngompa@fedoraproject.org> 2025-12-12 08:21:36 -0500
committerGravatar Neal Gompa <ngompa@fedoraproject.org> 2025-12-12 08:21:36 -0500
commit47685b1a647b9d6b60591c61f16b8f80b5ab96ef (patch)
tree008b67356721a7b1e5db980f6522dd5c4aeafbba
parenta11d3330d37d52d3ace2eb2243eb3f028cf676aa (diff)
downloadkiwi-descriptions-47685b1a647b9d6b60591c61f16b8f80b5ab96ef.tar.gz
kiwi-descriptions-47685b1a647b9d6b60591c61f16b8f80b5ab96ef.zip
config.sh: Fix typo and use correct vars for setting up GRUB Hidden Menu
The conditional was getting skipped due to a missing whitespace and the editenv command was never getting run. Additionally, we should be using the boot_indeterminate flag for first boot instead of boot_success.
-rwxr-xr-xconfig.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.sh b/config.sh
index 6211149..1079bce 100755
--- a/config.sh
+++ b/config.sh
@@ -42,9 +42,9 @@ if [[ "$kiwi_profiles" != *"Container"* ]] && [[ "$kiwi_profiles" != *"FEX"* ]]
## Disable recovery entries to match Fedora
echo "GRUB_DISABLE_RECOVERY=true" >> /etc/default/grub
## Write `menu_auto_hide=1` into grubenv to match Fedora anaconda installs
- ## Set boot_success to avoid displaying the grub menu on first boot
- if [["$kiwi_profiles" != *"Server"* ]]; then
- grub2-editenv /boot/grub2/grubenv set menu_auto_hide=1 boot_success=1
+ ## Set boot_indeterminate to avoid displaying the grub menu on first boot
+ if [[ "$kiwi_profiles" != *"Server"* ]]; then
+ grub2-editenv /boot/grub2/grubenv set menu_auto_hide=1 boot_indeterminate=1
fi
fi