This sound like a variant of bug 1242417.
Are you only directly calling grub-install --bootloader-id=myid ? Are
you setting GRUB_DISTRIBUTOR elsewhere as well?
GRUB_DISTRIBUTOR would be set in /etc/default/grub at the very least and
would likely interfere with how/where things get installed as well.
That said, I also see that /EFI/ubuntu is hardcoded in efi images; I
just haven't found exactly how from a quick look at grub2.
Marking is Triaged/Low; this won't be an issue for most people, we
appropriately handle "usual" installations. It probably still needs to
get fixed so that --bootloader-id works as expected, but bug 1242417 had
some reasons for being fixed the way it was and I'll need to talk to
Colin and/or Steve.
** Changed in: grub2 (Ubuntu)
Status: New => Triaged
** Changed in: grub2 (Ubuntu)
Importance: Undecided => Low
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1450783
Title:
grub-install with --bootloader-id option creates unusable boot
configuration with secure boot
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1450783/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs