diff options
author | Max Rees <maxcrees@me.com> | 2020-04-12 23:21:04 -0500 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2020-04-12 23:21:04 -0500 |
commit | 3a7636eb977ed02a909b3fbaab1d20bd84f53102 (patch) | |
tree | ef746ab12806e286f71cf528a4e063a193342096 /keys | |
parent | 8dabe8373558c656a84eb921694e57f967408da0 (diff) | |
download | image-3a7636eb977ed02a909b3fbaab1d20bd84f53102.tar.gz image-3a7636eb977ed02a909b3fbaab1d20bd84f53102.tar.bz2 image-3a7636eb977ed02a909b3fbaab1d20bd84f53102.tar.xz image-3a7636eb977ed02a909b3fbaab1d20bd84f53102.zip |
pmmx: fix EFI image generation when building on x86_64 host
When generating a pmmx spin on an x86_64 host, the host's grub-mkimage
is used, which looks in the host's /usr/lib/grub for i386-efi by default
when generating the EFI image. Since this doesn't exist on any of our
x86_64 hosts, use the /usr/lib/grub from the squashfs we just generated
instead. grub-mkimage supports this usage using the -d/--directory
option.
This probably would have been noticed earlier since it generates the
following fatal error:
grub-mkimage: error: cannot open `/usr/lib/grub/i386-efi/moddep.lst': No such file or directory.
But the post scripts are run using "sh" instead of "sh -e", ".", etc
from the main script.
Diffstat (limited to 'keys')
0 files changed, 0 insertions, 0 deletions