Bug#681227: [PATCH] Allow bootdev to be dummy
Matt Kraai kr...@ftbfs.org (23/12/2012): On Sun, Dec 23, 2012 at 02:47:04PM -0800, Matt Kraai wrote: The workaround for 681227 prevents grub-installer from trying to install to devices that don't exist. This breaks installations on systems that use grub-efi or grub-yeeloong, since they set the device to dummy. This patch fixes the workaround to allow this value. I've gone ahead and committed this. I hope that's OK. If you'd like me to revert it, let me know. It might be a good idea to include this in the release, else grub-efi and grub-yeeloong won't work. Thanks for the info and for the patch; I'll try and get Steve to make sure EFI things work for the next release, since I've got no such setups to perform tests on. Mraw, KiBi. signature.asc Description: Digital signature
Bug#681227: [PATCH] Allow bootdev to be dummy
The workaround for 681227 prevents grub-installer from trying to install to devices that don't exist. This breaks installations on systems that use grub-efi or grub-yeeloong, since they set the device to dummy. This patch fixes the workaround to allow this value. --- grub-installer |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-installer b/grub-installer index b370bf7..5d9fd77 100755 --- a/grub-installer +++ b/grub-installer @@ -652,7 +652,7 @@ if [ -z $frdisk ]; then bootdevs=$bootdev for bootdev in $bootdevs; do # workaround for #681227 - if [ ! -b $bootdev ]; then + if [ ! -b $bootdev -a $bootdev != dummy ]; then continue fi grub_install_params= -- 1.7.10.4 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#681227: [PATCH] Allow bootdev to be dummy
On Sun, Dec 23, 2012 at 02:47:04PM -0800, Matt Kraai wrote: The workaround for 681227 prevents grub-installer from trying to install to devices that don't exist. This breaks installations on systems that use grub-efi or grub-yeeloong, since they set the device to dummy. This patch fixes the workaround to allow this value. I've gone ahead and committed this. I hope that's OK. If you'd like me to revert it, let me know. It might be a good idea to include this in the release, else grub-efi and grub-yeeloong won't work. -- Matt Kraai https://ftbfs.org/kraai -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org