Skip to content

Commit ffa687a

Browse files
Smujbfizzyizzy05
andauthored
Support brew-proxy and replace ublue-os/brew with lumaeris/homebrew-arch (#53)
* feat: support brew-proxy and replace ublue-os/brew with lumaeris/homebrew-arch Signed-off-by: SmuJB <smujaybdev@protonmail.com> * chore: remove brew-proxy-setup.service from system-preset as it is preset within the package Signed-off-by: SmuJB <smujaybdev@protonmail.com> --------- Signed-off-by: SmuJB <smujaybdev@protonmail.com> Co-authored-by: Izzy <izzyjackson05@outlook.com>
1 parent 0ec1570 commit ffa687a

8 files changed

Lines changed: 17 additions & 13 deletions

File tree

.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
[submodule "subprojects/arch-bootc-pkgs"]
55
path = subprojects/arch-bootc-pkgs
66
url = https://github.com/hecknt/arch-bootc-pkgs
7-
[submodule "subprojects/ublue-brew"]
8-
path = subprojects/ublue-brew
9-
url = https://github.com/ublue-os/brew
107
[submodule "subprojects/xdg-terminal-exec-nautilus"]
118
path = subprojects/xdg-terminal-exec-nautilus
129
url = https://github.com/zirconium-dev/xdg-terminal-exec-nautilus.git
10+
[submodule "subprojects/homebrew-arch"]
11+
path = subprojects/homebrew-arch
12+
url = https://github.com/Lumaeris/homebrew-arch

mkosi.conf.d/subprojects.conf

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,12 @@
22
Distribution=arch
33

44
[Content]
5-
ExtraTrees=subprojects/ublue-brew/system_files/:/
6-
subprojects/assets/system_files/:/
5+
ExtraTrees=subprojects/assets/system_files/:/
6+
Packages=
7+
homebrew
8+
brew-proxy
9+
10+
[Build]
11+
SandboxTrees=subprojects/homebrew-arch/repo.gpg:/usr/share/pacman/keyrings/lumaeris.gpg
12+
repos/lumaeris-trusted:/usr/share/pacman/keyrings/lumaeris-trusted
13+
repos/homebrew.conf:/etc/pacman.d/homebrew.conf

mkosi.postinst.d/os-info.chroot

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
set -uexo pipefail
44

5-
echo "source /etc/profile.d/brew.sh" | tee -a /etc/bash.bashrc
6-
75
# Branding variables
86
IMAGE_PRETTY_NAME="Apollo"
97
HOSTNAME="apollo"

mkosi.prepare.d/install-software.chroot

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,3 @@ cd /tmp
77
git clone "https://gitlab.freedesktop.org/Vladimir-csp/xdg-terminal-exec.git" && cd xdg-terminal-exec
88

99
make prefix="/usr" install
10-
11-
# Install the homebrew.tar.zst
12-
mkdir /tmp/brew
13-
crane export ghcr.io/ublue-os/brew:latest | tar --strip-components=2 -xvf - -C /tmp/brew system_files/usr/share/homebrew.tar.zst
14-
mv /tmp/brew/share/homebrew.tar.zst /usr/share/homebrew.tar.zst

repos/homebrew.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[homebrew]
2+
SigLevel = Required
3+
Server = https://github.com/Lumaeris/homebrew-arch/releases/download/$repo

repos/lumaeris-trusted

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
F88AD54AC93B084021C2BB69FC179FA0288C0734:4:

subprojects/homebrew-arch

Submodule homebrew-arch added at d4b839c

subprojects/ublue-brew

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)