On Thu, 2015-07-16 at 08:34 +0100, Ian Campbell wrote: > Control: block 789798 by 792547 > > I've tested both of these patches (grub-installer [0] and grub2 [1] > together but the grub-installer one doesn't do much without the grub2 > one, since it appears that the installation of the grub-* packages also > ends up running grub-install during installation.
To clarify, I rebuilt the Jessie d-i version with this modified grub-installer included in the initrd and did two tests: A normal x86/UEFI install, from mini.iso, which showed no change in behaviour (i.e. Debian was added to the boot order as expected). In the installed system I then installed the updated version of grub2 and manually confirmed that /var/cache/debconf/config.dat had the new option set to true and that having deleted Debian from the boot order dpkg-reconfigure grub-efi-amd64 put it back and that dpkg-reconfigure -plow grub-efi-amd64 asked me the question and it behaved as expected (i.e. didn't add the entry if I deselected the new option). I then reinstalled using my patched d-i but with grub-installer/install-to-nvram=false added tothe kernel command line. I ran through the install and observed in syslog that grub-installer had passed --no-nvram but that Debian was added to the boot order by the existing grub2 packages from the archive (not my patched version) as they were installed. Then in the installed system I confirmed that /var/cache/debconf/config.dat had the new question in it set to false. Deleting the boot order and then installing my patched grub2 packages then correctly obeyed that setting, leading me to conclude that if it had been present in the archive during install then the right thing would have happened. Ian. > > Ian. > > [0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789798#65 > [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792547#5 > > _______________________________________________ > Pkg-grub-devel mailing list > pkg-grub-de...@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grub-devel > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org