2015-07-22 14:14:34 +00:00
|
|
|
From c5f3f71aea4fbbdc1d0cc0457f98344255a499cb Mon Sep 17 00:00:00 2001
|
2014-07-02 15:49:28 +00:00
|
|
|
From: Prarit Bhargava <prarit@redhat.com>
|
|
|
|
Date: Wed, 12 Mar 2014 10:58:16 -0400
|
2015-07-22 14:14:34 +00:00
|
|
|
Subject: [PATCH 47/74] Fix bad test on GRUB_DISABLE_SUBMENU.
|
2014-07-02 15:49:28 +00:00
|
|
|
|
|
|
|
The file /etc/grub.d/10_linux does
|
|
|
|
|
|
|
|
if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then
|
|
|
|
|
|
|
|
when it should do
|
|
|
|
|
|
|
|
if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xtrue ]; then
|
|
|
|
|
|
|
|
which results in submenus in /boot/grub2/grub.cfg when
|
|
|
|
GRUB_DISABLE_SUBMENU="yes".
|
|
|
|
|
|
|
|
Resolves: rhbz#1063414
|
|
|
|
---
|
|
|
|
util/grub.d/10_linux.in | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
|
2015-07-22 13:44:51 +00:00
|
|
|
index df3f288..137af42 100644
|
2014-07-02 15:49:28 +00:00
|
|
|
--- a/util/grub.d/10_linux.in
|
|
|
|
+++ b/util/grub.d/10_linux.in
|
2015-07-22 13:44:51 +00:00
|
|
|
@@ -257,7 +257,7 @@ while [ "x$list" != "x" ] ; do
|
2014-07-02 15:49:28 +00:00
|
|
|
linux_root_device_thisversion=${GRUB_DEVICE}
|
|
|
|
fi
|
|
|
|
|
|
|
|
- if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then
|
|
|
|
+ if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xtrue ]; then
|
|
|
|
linux_entry "${OS}" "${version}" simple \
|
|
|
|
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
|
|
|
|
|
|
|
|
--
|
2015-07-22 13:44:51 +00:00
|
|
|
2.4.3
|
2014-07-02 15:49:28 +00:00
|
|
|
|