diff --git a/hack/fix-qemu-signature.sh b/hack/fix-qemu-signature.sh deleted file mode 100755 index f571c329fea..00000000000 --- a/hack/fix-qemu-signature.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -# SPDX-FileCopyrightText: Copyright The Lima Authors -# SPDX-License-Identifier: Apache-2.0 - -# This script fixes the signature of QEMU binary with the "com.apple.security.hypervisor" entitlement. -# -# A workaround for "QEMU (homebrew) is broken on Intel: `[hostagent] Driver stopped due to error: "signal: abort trap"` ..." -# -# https://github.com/lima-vm/lima/issues/1742 -# https://github.com/Homebrew/homebrew-core/issues/140244 - -set -eux - -cat >entitlements.xml < - - - - com.apple.security.hypervisor - - - -EOF - -codesign --sign - --entitlements entitlements.xml --force "$(which qemu-system-"$(uname -m | sed -e s/arm64/aarch64/)")" - -rm -f entitlements.xml