export-image: remove image_ prefix from non-image files

This commit is contained in:
Serge Schneider 2025-04-28 16:12:23 +01:00
parent bcf2bc1d98
commit 79afc6e5e7

View File

@ -133,9 +133,9 @@ none | *)
esac esac
if [ -f "${SBOM_FILE}" ]; then if [ -f "${SBOM_FILE}" ]; then
xz -c "${SBOM_FILE}" > "$DEPLOY_DIR/image_$(basename "${SBOM_FILE}").xz" xz -c "${SBOM_FILE}" > "$DEPLOY_DIR/$(basename "${SBOM_FILE}").xz"
fi fi
if [ -f "${BMAP_FILE}" ]; then if [ -f "${BMAP_FILE}" ]; then
xz -c "${BMAP_FILE}" > "$DEPLOY_DIR/image_$(basename "${BMAP_FILE}").xz" xz -c "${BMAP_FILE}" > "$DEPLOY_DIR/$(basename "${BMAP_FILE}").xz"
fi fi
cp "$INFO_FILE" "$DEPLOY_DIR/" cp "$INFO_FILE" "$DEPLOY_DIR/"