Also install grub efi files to /usr/lib/grub/
Also install grub efi files to /usr/lib/grub/
The /boot/efi path is readable by root only.
There are use cases for grubx64.efi beyond booting the machine it is installed on. Specifically serving grubx64.efi (and the shim) over tftp to a remote machine will make it possible to enable secure boot for baremetal provisioning in OpenStack Ironic by using (signed) grub network boot instead of iPXE.
This change also installs the efi files to /usr/lib/grub so that the tooling which populates /tftpboot doesn't require elevated privileges just to read the files.
Resolves: rhbz#2040109 Signed-off-by: Steve Baker sbaker@redhat.com