grubx64.efi is a convenience symlink to grub-efi-bootx64.efi.
Unfortunately, it can get set to grub-efi-bootia32.efi if
grub-efi-native:do_deploy runs after grub-efi. This breaks the build
with
cp: cannot stat ‘tmp-glibc/deploy/images/openxt-installer/grubx64.efi’: No such file or directory
grubx64.efi is a convenience symlink to grub-efi-bootx64.efi. Unfortunately, it can get set to grub-efi-bootia32.efi if grub-efi-native:do_deploy runs after grub-efi. This breaks the build with cp: cannot stat ‘tmp-glibc/deploy/images/openxt-installer/grubx64.efi’: No such file or directory
Just copy the actual file and avoid the symlink.
OXT-1484
Signed-off-by: Jason Andryuk jandryuk@gmail.com
I tested the do_build code path, but I don't have a build-scripts setup to test that one.