Skip to content

Fix Rosetta install when already present in base VM#23

Merged
rcurranmoz merged 2 commits intomainfrom
fix-vm-memory
Apr 27, 2026
Merged

Fix Rosetta install when already present in base VM#23
rcurranmoz merged 2 commits intomainfrom
fix-vm-memory

Conversation

@rcurranmoz
Copy link
Copy Markdown
Collaborator

Summary

  • Rosetta is already installed by Xcode 16.4 in the base image, so softwareupdate --install-rosetta returns non-zero on subsequent runs and aborts the packer build
  • Added || echo ... to make the step non-fatal

Test plan

  • Builder ARM64 CI build completes past the Rosetta step

🤖 Generated with Claude Code

rcurranmoz and others added 2 commits April 27, 2026 12:58
The build host had 10.5GB in swap with 12GB allocated to the VM,
causing phase 2 SSH timeouts as the VM took >600s to boot under
heavy memory pressure.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Xcode 16.4 installs Rosetta as a dependency, so the base image already
has it by the time puppet-setup-phase1 runs. softwareupdate returns
non-zero when there is nothing to download, causing the packer build to
abort. Add || echo so the step is treated as advisory.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@rcurranmoz rcurranmoz merged commit 97e770d into main Apr 27, 2026
1 of 2 checks passed
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.

1 participant