a5bd9f6
From 590d8ede1ee3d379b19371c1e1a833906bfe0fa0 Mon Sep 17 00:00:00 2001
a5bd9f6
From: Andrey Borzenkov  <arvidjaar@gmail.com>
a5bd9f6
Date: Thu, 11 Apr 2013 15:11:14 +0200
a5bd9f6
Subject: [PATCH 277/364] 	* util/grub.d/30_os-prober.in: Add onstr to
a5bd9f6
 entries for visual 	distinction.
a5bd9f6
a5bd9f6
---
a5bd9f6
 ChangeLog                   | 5 +++++
a5bd9f6
 util/grub.d/30_os-prober.in | 4 ++--
a5bd9f6
 2 files changed, 7 insertions(+), 2 deletions(-)
a5bd9f6
a5bd9f6
diff --git a/ChangeLog b/ChangeLog
a5bd9f6
index 602fc9b..bb6d97b 100644
a5bd9f6
--- a/ChangeLog
a5bd9f6
+++ b/ChangeLog
a5bd9f6
@@ -1,3 +1,8 @@
a5bd9f6
+2013-04-11  Andrey Borzenkov <arvidjaar@gmail.com>
a5bd9f6
+
a5bd9f6
+	* util/grub.d/30_os-prober.in: Add onstr to entries for visual
a5bd9f6
+	distinction.
a5bd9f6
+
a5bd9f6
 2013-04-11  Vladimir Serbinenko  <phcoder@gmail.com>
a5bd9f6
 
a5bd9f6
 	Fix missing PVs if they don't contain "interesting" LV. Closes #38677.
a5bd9f6
diff --git a/util/grub.d/30_os-prober.in b/util/grub.d/30_os-prober.in
a5bd9f6
index e20d8b3..5500a3c 100644
a5bd9f6
--- a/util/grub.d/30_os-prober.in
a5bd9f6
+++ b/util/grub.d/30_os-prober.in
a5bd9f6
@@ -195,7 +195,7 @@ EOF
a5bd9f6
 
a5bd9f6
 	if [ "x$is_first_entry" = xtrue ]; then
a5bd9f6
             cat << EOF
a5bd9f6
-menuentry '$(echo "$OS" | grub_quote)' --class gnu-linux --class gnu --class os \$menuentry_id_option 'osprober-gnulinux-simple-$boot_device_id' {
a5bd9f6
+menuentry '$(echo "$OS $onstr" | grub_quote)' --class gnu-linux --class gnu --class os \$menuentry_id_option 'osprober-gnulinux-simple-$boot_device_id' {
a5bd9f6
 EOF
a5bd9f6
 	    save_default_entry | grub_add_tab
a5bd9f6
 	    printf '%s\n' "${prepare_boot_cache}"
a5bd9f6
@@ -210,7 +210,7 @@ EOF
a5bd9f6
         cat << EOF
a5bd9f6
 }
a5bd9f6
 EOF
a5bd9f6
-	    echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' \$menuentry_id_option 'osprober-gnulinux-advanced-$boot_device_id' {"
a5bd9f6
+	    echo "submenu '$(gettext_printf "Advanced options for %s" "${OS} $onstr" | grub_quote)' \$menuentry_id_option 'osprober-gnulinux-advanced-$boot_device_id' {"
a5bd9f6
 	    is_first_entry=false
a5bd9f6
 	fi
a5bd9f6
 	title="${LLABEL} $onstr"
a5bd9f6
-- 
a5bd9f6
1.8.1.4
a5bd9f6