From a66fbc54b7875e5ef1fbf843fa709b624a3e667f Mon Sep 17 00:00:00 2001 From: "michael.hudson@canonical.com" Date: Tue, 24 Feb 2026 12:46:41 +1300 Subject: [PATCH 1/3] make sure the for-iso squashfs gets created in the right place for kubuntu --- live-build/auto/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-build/auto/build b/live-build/auto/build index 3ec432d8..677de997 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -576,7 +576,7 @@ if [ "${MAKE_ISO}" = "yes" ]; then # create a for-iso.filesystem.squashfs that does. if [ -z "$PASSES" ]; then isobuild generate-sources --mountpoint=/cdrom > chroot/etc/apt/sources.list.d/cdrom.sources - create_squashfs chroot for-iso.filesystem.squashfs + create_squashfs chroot ${PWD}/for-iso.filesystem.squashfs fi # Link kernel and initrd files. The ${thing#${PREFIX}} expansion strips # the PREFIX, so "livecd.ubuntu-server.kernel-generic" becomes 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 2/3] 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( From b1ca2ae69bc5f9a5589bb484a3443dece4591f4b Mon Sep 17 00:00:00 2001 From: "michael.hudson@canonical.com" Date: Tue, 24 Feb 2026 12:55:26 +1300 Subject: [PATCH 3/3] changelog --- debian/changelog | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/debian/changelog b/debian/changelog index c177b098..16562ad1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +livecd-rootfs (26.04.22) UNRELEASED; urgency=medium + + * Fix two more problems with livefs-built ISOs: + - Generate the for-iso squashfs in the right place for Kubuntu. + - Fix confusion about the kernel path on the ISO on riscv64. + + -- Michael Hudson-Doyle Tue, 24 Feb 2026 12:54:10 +1300 + livecd-rootfs (26.04.21) resolute; urgency=medium [ Dan Bungert ]