From f0dfdd09675674a8a9ddaabc74a67916aa67624b Mon Sep 17 00:00:00 2001 From: Anjan Nath Date: Wed, 5 Jun 2024 15:37:55 +0530 Subject: [PATCH] pkg: remove use of sudo from the signing script this is required as use of 'sudo' is not available in downstream build machines. while testing the built pkg with this changes crc is working as expected --- packaging/darwin/macos-pkg-build-and-sign.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/darwin/macos-pkg-build-and-sign.sh b/packaging/darwin/macos-pkg-build-and-sign.sh index 820969c616..d3e1d3495a 100755 --- a/packaging/darwin/macos-pkg-build-and-sign.sh +++ b/packaging/darwin/macos-pkg-build-and-sign.sh @@ -49,7 +49,7 @@ sign "${crcBinDir}/crc" sign "${crcBinDir}/crc-admin-helper-darwin" sign "${crcBinDir}/vfkit" -sudo chmod +sx "${crcBinDir}/crc-admin-helper-darwin" +chmod +sx "${crcBinDir}/crc-admin-helper-darwin" pkgbuild --identifier com.redhat.crc --version ${version} \ --scripts "${BASEDIR}/scripts" \