fix: only enable rosetta by default when installed by manojmahapatra · Pull Request #1188 · apple/container
Type of Change
- Bug fix
- New feature
- Breaking change
- Documentation update
Motivation and Context
Addressing #1136
On fresh installs, build.rosetta defaults to true, which makes the builder VM request rosetta even when it isn’t installed. That looks like hits a potential Virtualization.framework install‑prompt bug and fails the build unexpectedly. This change keeps the existing auto install behavior for explicit opt‑in while preventing the default path from enabling Rosetta unless it’s already installed.
Testing
- Tested locally
- Added/updated tests
- Added/updated docs