Skip to contentSkip to conversation

initramfs-kexecboot-image: Allow supported architectures

PATCH New Khem Raj 1 participant 2 messages Dec 29, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 initramfs-kexecboot-image: Allow supported architectures

Not all arches e.g. rv32 support kexec atm, reflect that here

---
 .../recipes-core/images/initramfs-kexecboot-image.bb        | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
meta-initramfs/recipes-core/images/initramfs-kexecboot-image.bb +5 -1
index 7e6e03d8e7..681abd509c 100644
@@ -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"
author
#1 lore raw

PATCH 2/2 botan: Remove ptests execution on rv32

It needs go compiler and runtime which is missing on rv32

---
 meta-oe/conf/include/ptest-packagelists-meta-oe.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/conf/include/ptest-packagelists-meta-oe.inc +2 -1
index 2505997ee7..f8d9ee6f9b 100644
@@ -67,7 +67,8 @@ PTESTS_FAST_META_OE:append:x86-64 = " mcelog"
 
 PTESTS_FAST_META_OE:remove:libc-musl = "jemalloc minicoredumper oprofile"
 PTESTS_FAST_META_OE:remove:riscv64 = "nodejs oprofile"
-PTESTS_FAST_META_OE:remove:riscv32 = "nodejs oprofile"
+# botan needs go
+PTESTS_FAST_META_OE:remove:riscv32 = "botan nodejs oprofile"
 
 PTESTS_SLOW_META_OE = "\
     c-ares \