Commit graph

44 commits

Author SHA1 Message Date
Jed
550a03e3d5 Remove check for interactivity in /etc/profile.d/brew.sh
The interactivity check creates a couple of issues (like #27), and given that brew is already at the lower priority in the user $PATH, it should be fine to run like this
2026-10-27 19:48:51 +01:00
renner
373e0ac907 docs: improve alias
In case of a distrobox for example, where linuxbrew isn't available by
deafault, this would break.
2026-08-30 03:45:01 +02:00
Hec
4576300de2 fix: use /home/linuxbrew instead of /var/home/linuxbrew
Brew only actually works with the prefix of /home/linuxbrew/.linuxbrew,
not the fedora-ostree specific /var/home. This should be set correctly
for systems (potentially systemd-sysupdate based systems) that choose to
not include /var/home, but instead use the standardized /home directory.

Signed-off-by: Hec <hec@heccraft.com>
2026-07-08 15:55:18 +02:00
Hec
6e905ce684 chore: remove useless tmpfiles.d configuration
This file creates 3 directories:
- /var/lib/homebrew
- /var/cache/homebrew
- /var/home/homebrew

The first 2 directories seem entirely useless. Grepping through the
entire homebrew codebase for mentions of those 2 directories nets
absolutely nothing.

The /var/home/homebrew directory here is problematic. It creates the
directory with the owner set to uid/gid 1000. This breaks usecases where
the user wants to change the owner of this directory, such as for
systems that utilize systemd-homed, or systems that utilize a new
project called brew-proxy.[1]

The directory is already created by brew-setup.service, and it does not
need to be created outside of that. If a user deliberately removes this
directory, it should not be recreated as an empty directory.

[1]: https://codeberg.org/HastD/brew-proxy

Signed-off-by: Hec <hec@heccraft.com>
2026-07-08 15:55:18 +02:00
renner
55f0e75428
fix: do not add to $PATH twice (#25)
TTY is an interactive shell and when you launch your desktop this way
(not through a Display Manager) then the linuxbrew directory in the
$PATH will be inherited and in turn causes non-interactive shells to
have linuxbrew, this is noticeable in things like krunner and rofi.

It's still at the end of the $PATH so system binaries will have
precedence and it should not break anything.

Having brew on the TTY in $PATH is useful so I think this is a fine
workaround. I don't see a way for us to not make it so that this
specifically is not inherited to the desktop.

This fixes the cosmetic issue of it being present twice in $PATH.

This was brought up in [1].

[1]: https://github.com/ublue-os/brew/issues/24#issuecomment-4574594563
2026-05-30 10:38:30 +03:00
renner
3bdd192f03
feat: don't spam journal with tar commands on first setup (#13) 2026-05-15 15:03:28 +03:00
JarrColl
a34659d6bd
fix: (fish) deprioritise homebrew binaries below system binaries. (#21) 2026-04-25 13:10:32 +03:00
renner
63345f0264
docs: how to override system binaries (#20) 2026-04-22 16:58:25 +03:00
Ehsan J.
498094cec1
fix: avoid initializing homebrew if already initialized (#19) 2026-04-21 15:55:04 +03:00
renner
ed98bd8774
fix: remove bootc label (#17) 2026-04-08 08:37:21 +03:00
inffy
378200e4df
chore: allow renovate to process this fork (#16) 2026-04-07 20:08:06 +03:00
Dylan M. Taylor
07730e0762
fix: use customManagers instead of deprecated regexManagers (#15) 2026-04-07 18:54:39 +03:00
James Reilly
df2b153f29
feat: renovate for Brew versions (#8)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: inffy <10782843+inffy@users.noreply.github.com>
2026-03-31 07:44:14 +03:00
pricci1
eddbb1a432
fix: force brew shellenv to output fish commands (#11) 2026-01-11 11:12:34 +02:00
Mick Pollard
ad96f9d544 add systemctl preset commands to README 2026-01-03 16:44:58 +01:00
renner
a7fbd884e7
docs: add URL for deps (#6) 2025-12-23 22:33:13 +00:00
Robert Sturla
877cec7efd
fix: disable new bundle format for manifest 2025-12-23 22:10:50 +00:00
Robert Sturla
f9f8659fc4
fix: add missing --use-signing-config=false cosign flag 2025-12-23 22:08:55 +00:00
Robert Sturla
653baf0d45
fix: disable cosign new signing bundle (#5) 2025-12-23 22:06:47 +00:00
Kyle Gospodnetich
d7e8bee66d
Merge pull request #2 from GarciaLnk/patch-1
fix: simplify brew PATH append after system's
2025-12-18 09:58:53 -08:00
inffy
b0fb8597ad
Merge pull request #3 from castrojo/patch-1 2025-12-18 17:52:06 +02:00
Jorge O. Castro
bbb1ae8dc4
fix: remove advanced Homebrew installation example
Ain't no one testing this, remove it to set expectations.
2025-12-18 10:43:11 -05:00
Alberto García
2b8dd0f3d6
chore: add HOMEBREW_PREFIX fallback 2025-12-18 16:09:37 +01:00
Alberto García
72f27fa0dc
chore: use grep -E instead of egrep 2025-12-18 16:06:18 +01:00
Alberto García
22c2c8902f
fix: simplify brew PATH append after system's
This restores compatibility with upstream changes in shellenv.sh that don't affect the PATH

Credits: https://github.com/orgs/Homebrew/discussions/2560#discussioncomment-1716820
2025-12-18 16:01:01 +01:00
Kyle Gospodnetich
bf5e939cd1 fix: Update cosign.pub for Universal Blue 2025-12-17 10:24:50 -08:00
Kyle Gospodnetich
456449a90b
Merge pull request #1 from tulilirockz/path-modification
feat(brew.sh): set linuxbrew PATH to the last entry in $PATH instead of first
2025-12-17 09:51:22 -08:00
Tulip Blossom
36c16b0c10
Update system_files/etc/profile.d/brew.sh
Co-authored-by: renner <80410025+renner0e@users.noreply.github.com>
2025-12-17 11:39:51 -03:00
Tulip Blossom
78ea1d8c17
Update system_files/etc/profile.d/brew.sh
Co-authored-by: renner <80410025+renner0e@users.noreply.github.com>
2025-12-17 11:39:44 -03:00
Tulip Blossom
e27687981e
fix: remove unlink hacks since PATH is now last
Signed-off-by: Tulip Blossom <tulilirockz@outlook.com>
2025-12-17 11:38:54 -03:00
Tulip Blossom
7aeb21f415
Update system_files/etc/profile.d/brew.sh
Co-authored-by: renner <80410025+renner0e@users.noreply.github.com>
2025-12-17 11:38:05 -03:00
Tulip Blossom
3da260a0c4
feat(brew.sh): set linuxbrew PATH to the last entry in $PATH instead of first
This will avoid issues such as `systemctl` coming from `systemd` on
brew, `qdbus`, `dbus`, and honestly many others that we dont really
know. Also would prioritize things on the image whenever possible

Signed-off-by: Tulip Blossom <tulilirockz@outlook.com>
2025-12-17 11:04:08 -03:00
inffy
54b30cc07d
Update Homebrew image source in README
rename mentions of projectbluefin to ublue-os
2025-12-17 13:52:09 +02:00
Kyle Gospodnetich
13b6c20f76
chore: Delete .github/pull.yml 2025-12-16 22:08:49 -08:00
Kyle Gospodnetich
58a5b0a315
chore: Add pull app config 2025-12-16 19:34:43 -08:00
Tulip Blossom
d033dd0870
docs: wrong org name LOL 2025-12-16 01:28:55 -03:00
Jorge O. Castro
dd8e7cb6cd
Enhance README with tagline for Homebrew usage
Added a tagline to emphasize the benefits of using Homebrew on bootc images.
2025-12-15 20:27:06 -05:00
Jorge O. Castro
5fbd0000b4
Update README.md 2025-12-13 14:55:35 -05:00
Jorge O. Castro
f4b666fb9c docs: overwrite README with local version 2025-12-13 14:54:06 -05:00
Jorge O. Castro
69e1945e00
Merge pull request #1 from projectbluefin/docs/repository-documentation
docs: Add comprehensive repository documentation
2025-12-13 14:51:37 -05:00
Jorge O. Castro
38c2537400 docs: Add comprehensive repository documentation
- Add detailed overview of what the repository provides
- Document all included components (tarball, services, shell integration)
- Add practical examples for using in custom bootc images
- Include basic, advanced, and Universal Blue integration examples
- Document build process and runtime behavior
- Add environment variables and file locations reference
- Include systemd service details
- Add troubleshooting section for common issues
- Document contribution guidelines and related projects
2025-12-13 14:09:21 -05:00
Tulip Blossom
4797cf8ac5
fix: update cosign key
Signed-off-by: Tulip Blossom <tulilirockz@outlook.com>
2025-12-13 16:06:29 -03:00
Tulip Blossom
17705f4e64
fix: generate tarball and expose inside of OCI image instead of generating github releases
Signed-off-by: Tulip Blossom <tulilirockz@outlook.com>
2025-12-13 16:03:08 -03:00
Tulip Blossom
1e8f0ef137
init: first functional homebrew tarball generator
Signed-off-by: Tulip Blossom <tulilirockz@outlook.com>
2025-12-13 15:50:10 -03:00