* util/grub.d/30_os-prober.in: Add onstr to entries for visual
distinction.
This commit is contained in:
parent
49818a594a
commit
f4b1fa4f3c
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-04-11 Andrey Borzenkov <arvidjaar@gmail.com>
|
||||||
|
|
||||||
|
* util/grub.d/30_os-prober.in: Add onstr to entries for visual
|
||||||
|
distinction.
|
||||||
|
|
||||||
2013-04-11 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-04-11 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Fix missing PVs if they don't contain "interesting" LV. Closes #38677.
|
Fix missing PVs if they don't contain "interesting" LV. Closes #38677.
|
||||||
|
|
|
@ -195,7 +195,7 @@ EOF
|
||||||
|
|
||||||
if [ "x$is_first_entry" = xtrue ]; then
|
if [ "x$is_first_entry" = xtrue ]; then
|
||||||
cat << EOF
|
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
|
EOF
|
||||||
save_default_entry | grub_add_tab
|
save_default_entry | grub_add_tab
|
||||||
printf '%s\n' "${prepare_boot_cache}"
|
printf '%s\n' "${prepare_boot_cache}"
|
||||||
|
@ -210,7 +210,7 @@ EOF
|
||||||
cat << EOF
|
cat << EOF
|
||||||
}
|
}
|
||||||
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
|
is_first_entry=false
|
||||||
fi
|
fi
|
||||||
title="${LLABEL} $onstr"
|
title="${LLABEL} $onstr"
|
||||||
|
|
Loading…
Reference in a new issue