From 31a0c2716c78cc4cb427e1385dfa7344588fa5a0 Mon Sep 17 00:00:00 2001 From: "michael.hudson@canonical.com" Date: Tue, 24 Feb 2026 12:51:09 +1300 Subject: [PATCH] place kernel at /casper/vmlinux on riscv64 For no very good reason this is what debian-cd does, and what the grub config isobuilder generates still expects. It probably makes sense to switch to 'vmlinuz' like every other arch apart from ppc64el does but for now I want to maintain compatibility with the old ISOs. --- live-build/isobuilder/builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-build/isobuilder/builder.py b/live-build/isobuilder/builder.py index 9f5c4539..704c9de9 100644 --- a/live-build/isobuilder/builder.py +++ b/live-build/isobuilder/builder.py @@ -268,7 +268,7 @@ class ISOBuilder: target.hardlink_to(src) kernel_name = "vmlinuz" - if self.arch == "ppc64el": + if self.arch in ("ppc64el", "riscv64"): kernel_name = "vmlinux" with self.logger.logged(