From 9ff84fd180fb1af2c5b1de1e49288d40e64daf3d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 29 Dec 2025 10:07:02 -0800 Subject: [PATCH] initramfs-kexecboot-image: Allow supported architectures Not all arches e.g. rv32 support kexec atm, reflect that here Signed-off-by: Khem Raj --- .../recipes-core/images/initramfs-kexecboot-image.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta-initramfs/recipes-core/images/initramfs-kexecboot-image.bb b/meta-initramfs/recipes-core/images/initramfs-kexecboot-image.bb index 7e6e03d8e7..681abd509c 100644 --- a/meta-initramfs/recipes-core/images/initramfs-kexecboot-image.bb +++ b/meta-initramfs/recipes-core/images/initramfs-kexecboot-image.bb @@ -27,4 +27,8 @@ IMAGE_ROOTFS_EXTRA_SPACE = "0" # disable runtime dependency on run-postinsts -> update-rc.d ROOTFS_BOOTSTRAP_INSTALL = "" - +# Match what kexec supports in core +COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*|powerpc.*|mips.*|riscv64.*)-(linux|freebsd.*)' +# makedumpfile would not compile on mips/rv32 +COMPATIBLE_HOST:mipsarcho32 = "null" +COMPATIBLE_HOST:riscv32 = "null"