Skip to content

Get homebrew-add-package artefact working #1540

@dougbu

Description

@dougbu

While working on #436, found the homebrew-add-package fails because it executes brew as the helix-runner use (to avoid brew's failures when run as root). That user is not currently created until the first-run scripts are run, long after image generation completes.

We have previous hit problems attempting to automate brew execution and fell back to having DDFun install the few OS packages we need as part of their manual processes. Fixing this issue will enable a slight reduction in their workload.

Release Note Category

  • Feature changes/additions
  • Bug fixes
  • Internal Infrastructure Improvements

Release Note Description

Corrected problems automating our use of HomeBrew when setting up macOS machines.

As part of this, the gnu-sed package will be installed on newly-created macOS machines (as gsed).

DDFun is likely close to wrapping up tickets for manual addition of these packages on all macOS systems but the work may not be quite complete at the time of this rollout. Feel free to check for (e.g., with $(command -v gsed)) and use gsed if you prefer to avoid BSD sed (the macOS default). The "check for" requirement (if it remains) should go away shortly.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions