From ec8067e9b370555c5a65ff24038c4a9fbb46a697 Mon Sep 17 00:00:00 2001 From: Zach Wasserman Date: Mon, 20 Feb 2023 11:24:38 -0600 Subject: [PATCH] Remove Rosetta requirement for macOS installers (#9933) Even though the binaries are "universal" (compatible with both arm64 and x86_64), this configuration must be provided in the Distribution XML in order to prevent macOS from installing Rosetta when the user goes to install the package. Verified with Suspicious Package. For #9932 # Checklist for submitter If some of the following don't apply, delete the relevant line. - [x] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - [x] Manual QA for all new/changed functionality --- changes/rosetta | 1 + orbit/pkg/packaging/macos_templates.go | 1 + 2 files changed, 2 insertions(+) create mode 100644 changes/rosetta diff --git a/changes/rosetta b/changes/rosetta new file mode 100644 index 0000000000..41495fcfad --- /dev/null +++ b/changes/rosetta @@ -0,0 +1 @@ +* Remove requirement for Rosetta in installation of macOS packages on Apple Silicon. The binaries have been "universal" for a while now, but the installer still required Rosetta until now. diff --git a/orbit/pkg/packaging/macos_templates.go b/orbit/pkg/packaging/macos_templates.go index ff14a06868..5aa40ab272 100644 --- a/orbit/pkg/packaging/macos_templates.go +++ b/orbit/pkg/packaging/macos_templates.go @@ -39,6 +39,7 @@ var macosDistributionTemplate = template.Must(template.New("").Option("missingke + `))