diff --git a/contrib/pkginstaller/Makefile b/contrib/pkginstaller/Makefile index 35a86c9a663c..f6355732ea44 100644 --- a/contrib/pkginstaller/Makefile +++ b/contrib/pkginstaller/Makefile @@ -40,7 +40,7 @@ packagedir: podman_version package_root Distribution welcome.html ../../test/version/version > $(PACKAGE_DIR)/VERSION echo -n $(ARCH) > $(PACKAGE_DIR)/ARCH cp ../../LICENSE $(PACKAGE_DIR)/Resources/LICENSE.txt - cp hvf.entitlements $(PACKAGE_DIR)/ + cp vfkit.entitlements $(PACKAGE_DIR)/ package_root: clean-pkgroot $(TMP_DOWNLOAD)/gvproxy $(TMP_DOWNLOAD)/vfkit mkdir -p $(PACKAGE_ROOT)/podman/bin diff --git a/contrib/pkginstaller/package.sh b/contrib/pkginstaller/package.sh index 493e64fe2d4a..d3567463ad38 100755 --- a/contrib/pkginstaller/package.sh +++ b/contrib/pkginstaller/package.sh @@ -4,7 +4,7 @@ set -euxo pipefail BASEDIR=$(dirname "$0") OUTPUT=$1 -CODESIGN_IDENTITY=${CODESIGN_IDENTITY:-mock} +CODESIGN_IDENTITY=${CODESIGN_IDENTITY:--} PRODUCTSIGN_IDENTITY=${PRODUCTSIGN_IDENTITY:-mock} NO_CODESIGN=${NO_CODESIGN:-0} HELPER_BINARIES_DIR="/opt/podman/bin" @@ -25,9 +25,6 @@ function build_podman() { } function sign() { - if [ "${NO_CODESIGN}" -eq "1" ]; then - return - fi local opts="" entitlements="${BASEDIR}/$(basename "$1").entitlements" if [ -f "${entitlements}" ]; then diff --git a/contrib/pkginstaller/hvf.entitlements b/contrib/pkginstaller/vfkit.entitlements similarity index 53% rename from contrib/pkginstaller/hvf.entitlements rename to contrib/pkginstaller/vfkit.entitlements index 154f3308ef21..3b2c941a9f88 100644 --- a/contrib/pkginstaller/hvf.entitlements +++ b/contrib/pkginstaller/vfkit.entitlements @@ -2,7 +2,11 @@ - com.apple.security.hypervisor - + com.apple.security.network.server + + com.apple.security.network.client + + com.apple.security.virtualization +