diff --git a/.github/workflows/build-iso.yml b/.github/workflows/build-iso.yml index 06b0b46..6e64457 100644 --- a/.github/workflows/build-iso.yml +++ b/.github/workflows/build-iso.yml @@ -57,6 +57,7 @@ jobs: lorax \ livecd-tools \ pykickstart \ + python3-imgcreate \ anaconda-tui \ squashfs-tools \ xorriso \ @@ -67,6 +68,15 @@ jobs: cd /work + # 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. + # Fix in-place before running build. + LIVE_PY=$(python3 -c 'import imgcreate, os; print(os.path.dirname(imgcreate.__file__))')/live.py + sed -i 's|"live:LABEL=%(fslabel)s"|"live:CDLABEL=%(fslabel)s"|g' "$LIVE_PY" + grep -n 'CDLABEL=%(fslabel)s' "$LIVE_PY" || { echo "[ERR] patch failed"; exit 1; } + echo "[OK] livecd-creator patched: LABEL= → CDLABEL= for EFI dracut stanza" + # CI uses ks-ci.ks (no local fix-repo line). Generated from main ks. # Also strip flags livecd-creator doesn't recognize. sed -e '/veilor-fix/d' \