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

Fix for Issue #225: Use sysctl to check for ARM #246

Merged
merged 1 commit into from
May 22, 2022

Conversation

cvgs
Copy link
Contributor

@cvgs cvgs commented May 17, 2022

Fix for Issue #225: Use sysctl to check for ARM, and fall back to arch if no ARM detected. This allows prompting for user name and password even if erase-install is started from a Rosetta-enabled process.

We could hard-code i386 instead of using the arch fallback, but it probably doesn't hurt to explicitly ask for the architecture.

Tested with --test-run on Intel MBP as well as on M1 using native or Rosetta-enabled Terminal.app.

@grahampugh grahampugh merged commit 41ad162 into grahampugh:v26.1-rc May 22, 2022
@cvgs cvgs deleted the v26.1-rc-arch branch May 23, 2022 15:08
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