Skip to content

chore: update ujust set-brew to use tmpfiles.d config#1930

Merged
HastD merged 2 commits intosecureblue:livefrom
HastD:brew-toggle
Mar 2, 2026
Merged

chore: update ujust set-brew to use tmpfiles.d config#1930
HastD merged 2 commits intosecureblue:livefrom
HastD:brew-toggle

Conversation

@HastD
Copy link
Copy Markdown
Collaborator

@HastD HastD commented Feb 11, 2026

With secureblue/homebrew#15, Homebrew setup uses tmpfiles.d instead of a systemd service unit to create the /home/linuxbrew/.linuxbrew directory. The ujust set-brew script needs to be changed to match.

To ensure the Homebrew installation is not recreated for users who have opted out with ujust set-brew off, we override this tmpfiles.d config file by default by creating an empty /etc/tmpfiles.d/homebrew.conf, and add a systemd service brew-setup-migration.service that removes this override if the stamp /etc/.linuxbrew used by the old Homebrew setup method is present.

@HastD HastD marked this pull request as ready for review February 27, 2026 13:25
With secureblue/homebrew#15, Homebrew setup uses tmpfiles.d instead of a
systemd service unit to create the `/home/linuxbrew/.linuxbrew`
directory. The `ujust set-brew` script needs to be changed to match.

To ensure the Homebrew installation is *not* recreated for users who
have opted out with `ujust set-brew off`, we override this tmpfiles.d
config file by default by creating an empty
`/etc/tmpfiles.d/homebrew.conf`, and add a systemd service
`brew-setup-migration.service` that removes this override if the stamp
`/etc/.linuxbrew` used by the old Homebrew setup method is present.
@HastD HastD merged commit 57fbc23 into secureblue:live Mar 2, 2026
13 of 14 checks passed
@HastD HastD deleted the brew-toggle branch March 2, 2026 01:11
@HastD HastD removed the Pending CI label Mar 11, 2026
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.

4 participants