refactor: share common files between images; trim fedora-remote for a VM
Build containers / fedora-remote (44) (push) Failing after 36s
Build containers / fedora-cosmic (rawhide) (push) Failing after 51s
Build containers / fedora-cosmic (44) (push) Successful in 12m34s
Build containers / Prune old releases (push) Failing after 28s

- Move Kanidm/flatpak/finalize.d/sshd files to images/shared/{files,repos}
  and have build.sh overlay them for every image.
- fedora-remote: aggressive hardware trim (no firmware, no kernel-modules-extra,
  no non-QEMU guest agents), keep + enable qemu-guest-agent (Proxmox).
- Fixes the missing package-list (release step) for fedora-remote.
This commit is contained in:
2026-09-27 22:44:10 +02:00
parent 6d70a1bfb9
commit 5bea16bc01
29 changed files with 44 additions and 209 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Runs in the target root during `rpm-ostree compose image` (edition 2024
# finalize.d hook). Records the installed package list next to the treefile so
# build.sh can hand it to release.sh without having to mount the built image.
set -euo pipefail
if [[ -z "${RPMOSTREE_WORKDIR:-}" ]]; then
echo "RPMOSTREE_WORKDIR not set, skipping package list" >&2
exit 0
fi
rpm -qa --root "${PWD}" --qf '%{NAME} %{EVR}\n' | sort > "${RPMOSTREE_WORKDIR}/packages-current.txt"