diff --git a/scripts/iso/build-felhom-iso.sh b/scripts/iso/build-felhom-iso.sh index c3eb46b..555b9dd 100755 --- a/scripts/iso/build-felhom-iso.sh +++ b/scripts/iso/build-felhom-iso.sh @@ -437,7 +437,12 @@ if $BRAND || [[ "$LOADER" == "mkimage" ]]; then fi REPACK_MENU=single; $RELEASE && REPACK_MENU=release 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 \ -e FELHOM_LOADER="$LOADER" -e FELHOM_BRAND="$($BRAND && echo 1 || echo 0)" \ -e FELHOM_MENU="$REPACK_MENU" -e FELHOM_DEB="$REPACK_DEB" \