From 6281b6e3c853b3e01d97b25915b7d8561fba13d1 Mon Sep 17 00:00:00 2001 From: Ben Copeland Date: Sat, 23 May 2026 08:43:19 +0100 Subject: [PATCH] rootfs: debos: fix dangling /init symlink /init pointed at /usr/bin/systemd, which has never existed on Debian (systemd is at /usr/lib/systemd/systemd; /sbin/init is the working symlink). LAVA's apply-overlay-ramdisk repacks the cpio so the bug is invisible there, but booting the published rootfs.cpio.gz as a raw initramfs (tuxrun, plain qemu -initrd) panics in mount_root_generic. Point /init at the real systemd binary. Signed-off-by: Ben Copeland --- config/rootfs/debos/rootfs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/rootfs/debos/rootfs.yaml b/config/rootfs/debos/rootfs.yaml index 719c40977d..987193bb09 100644 --- a/config/rootfs/debos/rootfs.yaml +++ b/config/rootfs/debos/rootfs.yaml @@ -128,7 +128,7 @@ actions: - action: run description: Set symbolic link to init chroot: true - command: ln -s /usr/bin/systemd /init + command: ln -s /usr/lib/systemd/systemd /init - action: run description: Clean installed package files