[Libosinfo] [PATCH 2/4] debian: Fix JEOS installation script

Lasse Schuirmann lasse.schuirmann at gmail.com
Tue Jul 8 13:35:13 UTC 2014


grub-installer does not accept the boot device unless given after a
certain command.

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666974 for more
info.
---
 data/install-scripts/debian.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/data/install-scripts/debian.xml b/data/install-scripts/debian.xml
index e344bda..e08b86b 100644
--- a/data/install-scripts/debian.xml
+++ b/data/install-scripts/debian.xml
@@ -89,8 +89,9 @@ d-i passwd/root-password-again password <xsl:value-of select="config/admin-passw
 
 tasksel tasksel/first multiselect standard
 
-d-i grub-installer/only_debian boolean true
-d-i grub-installer/with_other_os boolean true
+# Workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666974
+d-i grub-installer/only_debian boolean false
+d-i grub-installer/bootdev string <xsl:call-template name="target-disk"/>
 
 d-i apt-setup/security_host string
 d-i apt-setup/services-select multiselect
-- 
2.0.1




More information about the Libosinfo mailing list