From 9c6136f01f2e0f99d402baa8ddd09ffabaeed3d7 Mon Sep 17 00:00:00 2001 From: veilor-org Date: Fri, 1 May 2026 11:48:30 +0100 Subject: [PATCH] =?UTF-8?q?ks:=20%post=20--nochroot=20uses=20$INSTALL=5FRO?= =?UTF-8?q?OT=20(livecd-creator)=20=E2=80=94=20was=20hardcoded=20/mnt/sysi?= =?UTF-8?q?mage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug confirmed by inspecting v0.2.0 ISO: rootfs symlinks /etc/os-release → ../usr/lib/os-release (stock Fedora), no /usr/share/veilor-os, no overlay files, /var/log/veilor-install.log shows %post chroot couldn't find any script because %post --nochroot copy targeted /mnt/sysimage (livemedia-creator path) instead of livecd-creator's INSTALL_ROOT. --- kickstart/veilor-os.ks | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kickstart/veilor-os.ks b/kickstart/veilor-os.ks index 5700eed..028ed0c 100644 --- a/kickstart/veilor-os.ks +++ b/kickstart/veilor-os.ks @@ -133,7 +133,9 @@ fira-code-fonts # ── Post-install (nochroot): copy overlay tree into installed root ── %post --nochroot set -eu -DEST=/mnt/sysimage +# DEST: livecd-creator sets INSTALL_ROOT, livemedia-creator uses /mnt/sysimage. +DEST="${INSTALL_ROOT:-/mnt/sysimage}" +[[ -d $DEST ]] || { echo "[ERR] DEST=$DEST does not exist (livecd-creator? livemedia-creator?)" >&2; exit 1; } # Try multiple source paths: # /run/install/repo/veilor — boot ISO (--virt mode)