ci: add /work diagnostic before sed-redirect to surface bind/perm issue

This commit is contained in:
obsidian-ai 2026-05-06 14:19:13 +01:00 committed by s8n
parent 3f138e7435
commit 9bf063a178

View file

@ -100,6 +100,18 @@ jobs:
cd /work
# Diagnostic: dump workspace state so a path/perm issue surfaces
# before commands silently no-op.
echo "=== /work diagnostic ==="
id
pwd
mountpoint /work || true
ls -la /work | head -20
ls -la /work/kickstart 2>&1 | head -10
touch /work/kickstart/.write-test && echo "[OK] /work/kickstart writable" || echo "[ERR] /work/kickstart NOT writable"
rm -f /work/kickstart/.write-test 2>/dev/null
echo "=== end diagnostic ==="
# PATCH: livecd-creator bug — __get_efi_image_stanza writes
# `root=live:LABEL=...` instead of `live:CDLABEL=...` for dracut.
# Result: dracut hangs on parse-livenet looking for non-CD label.