ks: %post --nochroot uses $INSTALL_ROOT (livecd-creator) — was hardcoded /mnt/sysimage
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.
This commit is contained in:
parent
7c4a94d763
commit
9c6136f01f
1 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue