Package: grub-installer
Version: 1.85
Followup-For: Bug #666974
Tags: patch
Dear Maintainer,
The bug is still present in Wheezy's installer. The enclosed (naive)
patch makes sure grub-installer jumps to state 2 (hence ignores
$default_bootdev) if grub-installer/bootdev is known. It has been
successfully tested on manual and automated installations with and
without preseeding grub-installer/bootdev.
-8<------------------------------------------------------------------>8-
diff -ru a/grub-installer b/grub-installer
--- a/grub-installer
+++ b/grub-installer
@@ -599,7 +599,7 @@
exit 10
fi
db_get $q
- if [ "$RET" = true ]; then
+ if [ "$RET" = true ] && ! db_get grub-installer/bootdev; then
bootdev="$default_bootdev"
break
else
-8<------------------------------------------------------------------>8-
Cheers,
--
Guilhem.
Attachment:
signature.asc
Description: Digital signature