Is there any explanation for why x86_64-efi is installed into /usr/share rather than /usr/lib as some distros do e.g. Gentoo.
According to the FHS 4.11. /usr/share : Architecture-independent data
“Note, however, that /usr/share is generally not intended to be shared by different OSes or by different releases of the same OS.”
No issue, just want to understand.
Would it be ok to symlink /usr/lib/grub2 to /usr/share/grub2 ?
Because the architecture of grub is completely unrelated to the architecture of the system. The grub binaries are not executed in the running system and so do not need to match its architecture, they are just opaque data. I can create grub image for any architecture on any system; I can install grub binaries on ESP from any system, and architecture of the system does not need to match the architecture of the EFI (32 bit EFI vs. 64 bit system being the most common case).