Override default snapcraft entrypoint
This commit is contained in:
@@ -1131,8 +1131,9 @@ install_mc_snap() {
|
|||||||
if execute podman run --rm -it \
|
if execute podman run --rm -it \
|
||||||
-v "$OUTPUT_DIR:/build:Z" \
|
-v "$OUTPUT_DIR:/build:Z" \
|
||||||
-w /build \
|
-w /build \
|
||||||
|
--entrypoint "" \
|
||||||
ghcr.io/canonical/snapcraft:8_core24 \
|
ghcr.io/canonical/snapcraft:8_core24 \
|
||||||
pack -o "${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap" --destructive-mode; then
|
snapcraft pack -o "${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap" --destructive-mode; then
|
||||||
echo "Snap package built successfully: $snap_dir/${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap"
|
echo "Snap package built successfully: $snap_dir/${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap"
|
||||||
else
|
else
|
||||||
err "Snap package build failed."
|
err "Snap package build failed."
|
||||||
|
|||||||
Reference in New Issue
Block a user