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.
This commit is contained in:
michael.hudson@canonical.com 2026-02-24 12:51:09 +13:00
parent a66fbc54b7
commit 31a0c2716c
No known key found for this signature in database
GPG Key ID: 80E627A0AB757E23

View File

@ -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(