Add selinux context to snap dir

This commit is contained in:
2025-04-15 14:43:50 -04:00
parent 0993fc7ee3
commit 5c4cb6cb80

View File

@@ -1126,7 +1126,7 @@ install_mc_snap() {
echo "Building snap package..." echo "Building snap package..."
if execute podman run --rm -it \ if execute podman run --rm -it \
-v "$OUTPUT_DIR:/build" \ -v "$OUTPUT_DIR:/build:Z" \
-w /build \ -w /build \
docker.io/snapcore/snapcraft:stable \ docker.io/snapcore/snapcraft:stable \
snapcraft snap -o "${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap" --destructive-mode; then snapcraft snap -o "${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap" --destructive-mode; then