]> git.ipfire.org Git - thirdparty/grub.git/commit
grub-mkimage: Creating aarch64 images from x86 host is broken
authorDarren Kenny <darren.kenny@oracle.com>
Wed, 27 Apr 2022 10:46:48 +0000 (10:46 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 24 May 2022 12:07:23 +0000 (14:07 +0200)
commitbda136e1bb1c29c8c969b708d2e2b9003f6ec16f
treee0b0e066fc0c4f16d3e674d4a5b4884e6d3a1370
parent3aec0854104159f41ed6d45baeb551f8743f5ee8
grub-mkimage: Creating aarch64 images from x86 host is broken

A recent fix that made appears to have broken the ability to create an
aarch64 boot image on a x86-based host.

This was due to an overzealous testing of the architecture when building
grub-mkimage and removing the code that build an ARM image when not built
on ARM.

On the occasion remove redundant break.

Fixes: 8541f319 (grub-mkimage: Only check aarch64 relocations when built for aarch64)
Signed-off-by: Darren Kenny <darren.kenny@oracle.com>
Tested-by: Selva Ganesan <selvaganesan89@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
util/grub-mkimagexx.c