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