grub2/loopback: fix misapplication of quiet kernel parameter

When building grub2 menu entries the quiet param (meant for d-i)
was excluded from the rescue menu entries instead of expert.

This is the opposite to what is done in the following:
 - Menu entries seen in official debian 7.7 disc images (grub2 and syslinux configs)
 - Menu entries created for grub (legacy)
 - Menu entries created for syslinux

The evidence strongly suggests that the grub2 menu creation was in the wrong!

(See #775143)

Gbp-Dch: Short
This commit is contained in:
jnqnfe 2015-01-11 21:20:14 +00:00 committed by Lyndon Brown
parent 464c7a6946
commit 636e52c36e
1 changed files with 2 additions and 2 deletions

View File

@ -72,9 +72,9 @@ Grub_install_entry ()
INITRD="${4}"
APPEND="${5}"
# Drop "quiet" kernel parameter for rescue entries
# Drop "quiet" kernel parameter for expert entries
case $TYPE in
rescue|rescuegui)
expert|expertgui)
APPEND=$(echo "$APPEND" | sed -e 's/ quiet//')
;;
esac