wic/plugins/bootimg-efi-isar: Add 32-bit arm support for grub-efi

Message ID 22037fe6-b8ba-471e-8508-a7fd1f237618@siemens.com
State Accepted, archived
Headers show
Series wic/plugins/bootimg-efi-isar: Add 32-bit arm support for grub-efi | expand

Commit Message

Jan Kiszka Jan. 6, 2026, 2:29 p.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

Just for the sake of completeness. Recently tested out of tree (and then
switched back to slimmer systemd-boot).

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Anton Mikanovich Jan. 8, 2026, 12:33 p.m. UTC | #1
06/01/2026 16:29, 'Jan Kiszka' via isar-users wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> Just for the sake of completeness. Recently tested out of tree (and then
> switched back to slimmer systemd-boot).
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Applied to next, thanks.

Patch

diff --git a/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py b/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py
index b0edb8f5..ed3bed88 100644
--- a/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py
+++ b/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py
@@ -461,6 +461,10 @@  class BootimgEFIPlugin(SourcePlugin):
                     grub_target = 'arm64-efi'
                     grub_image = "bootaa64.efi"
                     grub_modules = ""
+                elif distro_arch == "armhf":
+                    grub_target = 'arm-efi'
+                    grub_image = "bootarm.efi"
+                    grub_modules = ""
                 else:
                     raise WicError("grub-efi is incompatible with target %s" %
                                    distro_arch)