iso: ship the package under its real filename, not felhom.deb

The release build copied the .deb to $WORK/felhom.deb before handing it to the repack, so the ISO
carried '/proxmox/packages/felhom.deb' — the version invisible from the image, and not matching the
release gate's 'exactly one felhom-*.deb' check (G7). Caught by running G5's enumeration against the
built artifact rather than trusting the build log.
This commit is contained in:
2026-07-31 16:44:01 +02:00
parent 0f22447d15
commit 8505954df7
+6 -1
View File
@@ -437,7 +437,12 @@ if $BRAND || [[ "$LOADER" == "mkimage" ]]; then
fi fi
REPACK_MENU=single; $RELEASE && REPACK_MENU=release REPACK_MENU=single; $RELEASE && REPACK_MENU=release
REPACK_DEB="" REPACK_DEB=""
if [[ -n "${RELEASE_DEB:-}" ]]; then cp "$RELEASE_DEB" "$WORK/felhom.deb"; REPACK_DEB=/work/felhom.deb; fi # Keep the package's REAL filename inside the ISO: it is how the shipped version is visible from
# the image alone (release gate G7), and how a tester can name what they installed.
if [[ -n "${RELEASE_DEB:-}" ]]; then
cp "$RELEASE_DEB" "$WORK/$(basename "$RELEASE_DEB")"
REPACK_DEB="/work/$(basename "$RELEASE_DEB")"
fi
docker run --rm -v "$WORK":/work \ docker run --rm -v "$WORK":/work \
-e FELHOM_LOADER="$LOADER" -e FELHOM_BRAND="$($BRAND && echo 1 || echo 0)" \ -e FELHOM_LOADER="$LOADER" -e FELHOM_BRAND="$($BRAND && echo 1 || echo 0)" \
-e FELHOM_MENU="$REPACK_MENU" -e FELHOM_DEB="$REPACK_DEB" \ -e FELHOM_MENU="$REPACK_MENU" -e FELHOM_DEB="$REPACK_DEB" \