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

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
claude-veilor-bot 2026-05-06 14:19:13 +01:00 committed by s8n-ru
parent feb9a40c42
commit 58c2f95986

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.