f4c76c0
From 0ad8b88186862b9f7c66b918c1682885ecd4cf65 Mon Sep 17 00:00:00 2001
f4c76c0
From: Peter Jones <pjones@redhat.com>
f4c76c0
Date: Thu, 4 Sep 2014 15:25:22 -0400
f4c76c0
Subject: [PATCH 57/74] Fix GRUB_DISABLE_SUBMENU one more time.
f4c76c0
f4c76c0
Resolves: rhbz#1063414
f4c76c0
f4c76c0
Signed-off-by: Peter Jones <pjones@redhat.com>
f4c76c0
---
f4c76c0
 util/grub.d/10_linux.in | 4 ++++
f4c76c0
 1 file changed, 4 insertions(+)
f4c76c0
f4c76c0
diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
f4c76c0
index a714340..358dd67 100644
f4c76c0
--- a/util/grub.d/10_linux.in
f4c76c0
+++ b/util/grub.d/10_linux.in
f4c76c0
@@ -258,6 +258,10 @@ while [ "x$list" != "x" ] ; do
f4c76c0
     linux_root_device_thisversion=${GRUB_DEVICE}
f4c76c0
   fi
f4c76c0
 
f4c76c0
+  if [ "x${GRUB_DISABLE_SUBMENU}" = "xyes" ] || [ "x${GRUB_DISABLE_SUBMENU}" = "xy" ]; then
f4c76c0
+    GRUB_DISABLE_SUBMENU="true"
f4c76c0
+  fi
f4c76c0
+
f4c76c0
   if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xtrue ]; then
f4c76c0
     linux_entry "${OS}" "${version}" simple \
f4c76c0
     "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
f4c76c0
-- 
f4c76c0
2.4.3
f4c76c0