aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-04-16 19:36:59 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 04:28:06 +0200
commitfb7da2da82b4d90f23d6270d2e64823a8ce6d4b0 (patch)
treeda5e0362392d094a1c81b1653a91755fd850f5ea
parent946afd41599cd999e51074b6bd66ac91463ece1f (diff)
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).
-rwxr-xr-xinclude/partition.sh5
-rw-r--r--preseed.cfg4
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