Browse Source

Add selinux context to snap dir

bryan 1 tuần trước cách đây
mục cha
commit
5c4cb6cb80
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      installJRMC

+ 1 - 1
installJRMC

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