Note: if a fix is used to add some more code similar to the bit I quoted
above (using `umount_on_exit`): `umount_on_exit` has to be fixed too, to
unmount in reverse order. Also, it seems that when the unmounting
eventually happens, IFS is not set back to default, so the field
splitting doesn't work.

Conceivably there could be a fix in debian/postint to do the mount
before even invoking `grub-installer`. But in that case a similar change
should be made to `rescue.d/80grub-reinstall`. So it seems better to
have it in `grub-install` itself.

I am attaching a patch.

** Patch added: "Mount and unmount $ROOT/sys/firmware/efi/efivars"
   
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1880855/+attachment/5380616/+files/grub-installer.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1880855

Title:
  grub-installer should mount efivarfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1880855/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to