ci: generate package list during compose via finalize.d
Build containers / fedora-cosmic (rawhide) (push) Successful in 11m54s
Build containers / fedora-cosmic (44) (push) Successful in 12m56s

Avoid mounting the built image with buildah (ran out of disk); the
finalize.d hook records the rpm list next to the treefile and release.sh
consumes it directly.
This commit is contained in:
2026-09-21 17:35:17 +02:00
parent 0a05b2a6bc
commit de5b0f143a
4 changed files with 29 additions and 15 deletions
+7
View File
@@ -198,4 +198,11 @@ fi
"${MANIFEST}" \
"${OCI_ARCHIVE}"
# The finalize.d hook records the installed package list next to the treefile.
manifest_dir="$(dirname "${MANIFEST}")"
if [[ -f "${manifest_dir}/packages-current.txt" ]]; then
cp "${manifest_dir}/packages-current.txt" "${BUILD_DIR}/packages-current.txt"
echo "Package list: ${BUILD_DIR}/packages-current.txt"
fi
echo "Built: ${OCI_ARCHIVE}"