| Message ID | 20251229181848.1160714-1-raj.khem@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-initramfs,1/2] initramfs-kexecboot-image: Allow supported architectures | expand |
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"
Not all arches e.g. rv32 support kexec atm, reflect that here Signed-off-by: Khem Raj <raj.khem@gmail.com> --- .../recipes-core/images/initramfs-kexecboot-image.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)