From fb7da2da82b4d90f23d6270d2e64823a8ce6d4b0 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 16 Apr 2014 19:36:59 +0200 Subject: Force grub to be installed on devices other than /dev/sda if asked to. This is a dirty fix for #666974 (which is fixed in Jessie's installer). --- include/partition.sh | 5 +++-- preseed.cfg | 4 ---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/include/partition.sh b/include/partition.sh index eed6db9..a7d2a72 100755 --- a/include/partition.sh +++ b/include/partition.sh @@ -81,8 +81,9 @@ encrypt=$RET # Install GRUB on the first device in case of an array -db_set grub-installer/bootdev "${device%% *}" -db_fset grub-installer/bootdev seen true +db_set grub-installer/bootdev "${device%% *}" +db_fset grub-installer/bootdev seen true +db_set grub-installer/only_debian false # dirty fix for #666974 part_boot= part_system= diff --git a/preseed.cfg b/preseed.cfg index 8911d46..6428063 100644 --- a/preseed.cfg +++ b/preseed.cfg @@ -102,7 +102,6 @@ d-i clock-setup/ntp boolean true d-i clock-setup/ntp-server string 0.se.pool.ntp.org d-i time/zone string Europe/Stockholm - ################################################################################ # dpkg/APT (install minimal system) @@ -122,6 +121,3 @@ d-i pkgsel/upgrade select safe-upgrade d-i preseed/early_command string anna-install fripost-partman fripost-postinst d-i preseed/late_command string /bin/in-target /usr/bin/update-alternatives --set editor /usr/bin/vim.nox - -# Dirty fix for bug #666974 -d-i grub-installer/only_debian boolean false -- cgit v1.2.3