Bug#767037: Grub EFI fallback - patches for review

Steve McIntyre steve at einval.com
Wed Dec 3 18:09:38 UTC 2014


On Wed, Dec 03, 2014 at 04:18:23PM +0000, Steve McIntyre wrote:
>
>A more generic fix would be to add to a list of filesystems that need
>unmounting, and trap to a new shell function that unmounts that
>list. Not too hard, I think - I'll see if I can do that and get it
>tested today.
>
>Frankly, I'd also like to move mountvirtfs and that new function over
>to a more central d-i scripts location and cut down on the duplicated
>code. That's definitely something for post-jessie, as it's going to
>potentially cut across a lot of the d-i packages.

<snip>

>>The unmount is wanted or the leaving of /boot/efi mounted is? (I could
>>see an argument either way actually).
>
>I need to make sure that /target/boot/efi is unmounted; otherwise
>exiting and re-entering the rescue menu fails.
>
>Updated patch coming soon...

And here it is. Differences from v1 are:

 * s/UEFI/EFI/ in messages for consistency
 * s/step_force_efi/step_force_efi_removable/
 * Better handling of mounting and unmounting

-- 
Steve McIntyre, Cambridge, UK.                                steve at einval.com
You lock the door
And throw away the key
There's someone in my head but it's not me 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub-installer-rescue-UEFI-removable-V2.patch
Type: text/x-diff
Size: 7511 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20141203/f0dfde11/attachment-0002.patch>


More information about the Pkg-grub-devel mailing list