summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8a2c552)
Noticed via a customer (MT#16911), while it's not causing
real problems with wheezy->jessie upgrades it still might
hit us in the future, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711019
+ # make sure this is pre-defined so we have sane settings for automated
+ # upgrades, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711019
+ echo "Setting grub-pc debconf configuration for install device to $GRUB"
+ echo "grub-pc grub-pc/install_devices multiselect $GRUB" | debconf-set-selections
+
if ! dpkg --list grub-pc 2>/dev/null | grep -q '^ii' ; then
echo "Notice: grub option set but no grub-pc package, installing it therefore."
DEBIAN_FRONTEND=$DEBIAN_FRONTEND $APTINSTALL grub-pc
if ! dpkg --list grub-pc 2>/dev/null | grep -q '^ii' ; then
echo "Notice: grub option set but no grub-pc package, installing it therefore."
DEBIAN_FRONTEND=$DEBIAN_FRONTEND $APTINSTALL grub-pc