Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add macOS preinstall script to install rosetta2 #708

Merged
merged 1 commit into from
Feb 21, 2021

Conversation

directionless
Copy link
Contributor

As of the Big Sur general release, Apple M1 machines no longer ship
Rosetta 2. Instead, this must be installed manually. As osquery does
not yet ship a universal binary, launcher requires rosetta2.

During an interactive install, the user is prompted to okay a
rosetta2 install, but this does not appear to happen during an MDM
install. So, we need to trigger than from a preinstall script.

For internet discussion see:

As of the Big Sur general release, Apple M1 machines no longer ship
Rosetta 2. Instead, this must be installed manually. As osquery does
not yet ship a universal binary, launcher requires rosetta2.

During an interactive install, the user is prompted to okay a
rosetta2 install, but this does not appear to happen during an MDM
install. So, we need to trigger than from a preinstall script.

For internet discussion see:
- https://www.alansiu.net/2020/12/02/installing-rosetta-2-on-m1-apple-silicon-macs/
- https://derflounder.wordpress.com/2020/11/17/installing-rosetta-2-on-apple-silicon-macs/
- https://grahamgilbert.com/blog/2020/11/13/installing-rosetta-2-on-apple-silicon-macs/
@directionless directionless merged commit dbd8262 into kolide:master Feb 21, 2021
@directionless directionless deleted the seph/rosetta-script branch February 21, 2021 13:37
directionless added a commit to directionless/launcher that referenced this pull request Jun 28, 2022
As the binaries we ship are now univeral binaries, we no longer need rosetta.

This reverts kolide#708, as the only thing the preinstall script was used for is installing rosetta.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants