I would think that the postinst script should use a low priority debconf question to ask if you want to create the directory and install or not, and default to not if you aren't showing low priority questions.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1783044 Title: grub-efi-amd64 postinst fails to install GRUB if /boot/efi/EFI/ubuntu/ is not present To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1783044/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs