Skip to content

Commit a0eadea

Browse files
committed
Feat: robin now uses arch btw
1 parent 615c96a commit a0eadea

28 files changed

Lines changed: 679 additions & 11 deletions

‎.github/workflows/build-containerfiles.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
variant: [server, aira, robin, ai]
36+
variant: [server, aira, ai]
3737

3838
steps:
3939
- name: Prepare environment

‎.github/workflows/build-image.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
matrix:
47-
variant: [arch, debian, opensuse, nixos, ubuntu, holo-amd, holo-nvidia, fsdk]
47+
variant: [arch, debian, opensuse, nixos, ubuntu, holo-amd, holo-nvidia, fsdk, robin]
4848

4949
steps:
5050
- name: Prepare environment

‎AGENTS.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ links lives in `.agents/skills/README.md`.
1313
`blueprint` is a **personal, multi-image bootc builder** owned by
1414
`huntedraven7`. It is not a fork-this-template project: there is one repository
1515
that builds a set of image variants — `arch`, `debian`, `ubuntu`, `opensuse`,
16-
`gentoo`, `nixos`, `holo-amd`, `holo-nvidia` (all from a single unified root
16+
`gentoo`, `nixos`, `robin`, `holo-amd`, `holo-nvidia` (all from a single unified root
1717
`Containerfile`, with identity inlined in the `Justfile` `build` recipe `case`
1818
arms) plus `fsdk` (built with BuildStream) — and three promoted base images
1919
(`arch-bootc`, `debian-bootc`, `opensuse-bootc`). The `Justfile` is the single
@@ -29,7 +29,7 @@ build entrypoint.
2929
digest as `:stable`.
3030
- Variant images publish under their own tag on
3131
`ghcr.io/huntedraven7/blueprint` (`:arch`, `:debian`, `:ubuntu`, `:opensuse`,
32-
`:gentoo`, `:nixos`, `:holo-amd`, `:holo-nvidia`, `:fsdk`) plus
32+
`:gentoo`, `:nixos`, `:robin`, `:holo-amd`, `:holo-nvidia`, `:fsdk`) plus
3333
`-<date>` / `-<sha>` alias tags.
3434
- Base images publish under their own repository:
3535
`ghcr.io/huntedraven7/arch-bootc`, `debian-bootc`, `opensuse-bootc`.
@@ -58,8 +58,8 @@ Base images (`arch`, `debian`, `opensuse`) use a digest-pin promotion:
5858
| `blueprint` | `:<variant>` | The variant's current build |
5959

6060
Downstream variants consume the promoted base: `holo-amd` / `holo-nvidia`
61-
build `FROM arch-bootc:stable`. Promoting a broken base breaks every downstream
62-
variant, so step 2 is not optional.
61+
build `FROM arch-bootc:stable`. `robin` builds `FROM arch-bootc:testing`.
62+
Promoting a broken base breaks every downstream variant, so step 2 is not optional.
6363

6464
## CRITICAL: External Repository Research
6565

@@ -121,7 +121,7 @@ do not hand-write them.
121121
9. **ALWAYS** copy `system_files/global` **before** the per-variant overlay so variant files win
122122
10. **ALWAYS** let Renovate bump pinned digests (`image-versions.yaml`, action SHAs); do not hand-edit them
123123
11. **NEVER** hand-edit a promoted `:stable` digest in `image-versions.yaml` — use `promote-<base>.yml`
124-
12. **ALWAYS** test a base image's `:testing` tag before promoting it to `:stable`; `holo-amd`/`holo-nvidia` build `FROM arch-bootc:stable`
124+
12. **ALWAYS** test a base image's `:testing` tag before promoting it to `:stable`; `holo-amd`/`holo-nvidia` build `FROM arch-bootc:stable`, `robin` builds `FROM arch-bootc:testing`
125125
13. **ALWAYS** keep `RUN bootc container lint` in Containerfiles that already have it
126126
14. **NEVER** modify `.github/workflows/*` without running `actionlint` and considering `zizmor.yml`
127127
15. **ALWAYS** confirm with the user before deviating from upstream @ublue-os / @projectbluefin patterns
@@ -163,6 +163,6 @@ Before marking work done:
163163
- [ ] Updated or created the relevant skill file?
164164
- [ ] Included that learning in this PR?
165165

166-
**Last Updated**: 2026-08-19
166+
**Last Updated**: 2026-09-03
167167
**Repository**: huntedraven7/blueprint (personal multi-image bootc builder)
168168
**Maintainer**: huntedraven7

‎Containerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Unified Containerfile for the "other" blueprint images:
2-
# arch, debian, ubuntu, opensuse, gentoo, nixos, holo-amd, holo-nvidia
2+
# arch, debian, ubuntu, opensuse, gentoo, nixos, holo-amd, holo-nvidia, robin
33
#
44
# robin, aira, server, crmy, ai keep their own containerfiles/Containerfile.<variant>.
55
#

‎Justfile‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,15 @@ build $target_image="" $tag="" $dx="0" $kernel_pin="" $gnome_version="50" $major
186186
REPO_ORGANIZATION="huntedraven7"
187187
BIB_IMAGE="quay.io/centos-bootc/bootc-image-builder:latest"
188188
;;
189+
robin*)
190+
IMAGE_NAME="robin"
191+
DEFAULT_TAG="testing"
192+
IMAGE_DESC="Arch Linux Niri + Quickshell Desktop"
193+
IMAGE_KEYWORDS="bootc,oci,linux,arch,niri,quickshell,wayland"
194+
IMAGE_LOGO_URL="https://avatars.githubusercontent.com/u/120078124?s=200&v=4"
195+
REPO_ORGANIZATION="huntedraven7"
196+
BIB_IMAGE="quay.io/centos-bootc/bootc-image-builder:latest"
197+
;;
189198
*)
190199
echo "Unknown variant: '${target_image}'. No inline identity and no env file." >&2
191200
exit 1
@@ -314,9 +323,9 @@ build-all:
314323
just build holo-amd
315324
just build holo-nvidia
316325
just build-fsdk
326+
just build-containerfile robin
317327
just build-containerfile server
318328
just build-containerfile aira
319-
just build-containerfile robin
320329
just build-containerfile ai
321330
322331
# Build an image then rechunk it for smaller bootc delta updates
@@ -481,10 +490,10 @@ variant-env $target_image=image_name:
481490
ubuntu*) IMAGE_NAME="ubuntu-bootc"; DEFAULT_TAG="testing" ;;
482491
holo-amd*) IMAGE_NAME="blueprint"; DEFAULT_TAG="holo-amd" ;;
483492
holo-nvidia*) IMAGE_NAME="blueprint"; DEFAULT_TAG="holo-nvidia" ;;
493+
robin*) IMAGE_NAME="robin"; DEFAULT_TAG="testing" ;;
484494
fsdk*) IMAGE_NAME="blueprint"; DEFAULT_TAG="fsdk" ;;
485495
server*) IMAGE_NAME="server"; DEFAULT_TAG="testing" ;;
486496
aira*) IMAGE_NAME="aira"; DEFAULT_TAG="testing" ;;
487-
robin*) IMAGE_NAME="robin"; DEFAULT_TAG="testing" ;;
488497
ai*) IMAGE_NAME="ai"; DEFAULT_TAG="testing" ;;
489498
*)
490499
echo "Unknown variant: '${target_image}'" >&2

‎build_files/base/build-robin.sh‎

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
#!/bin/bash
2+
set -ouex pipefail
3+
4+
cp -avf "/ctx/system_files/global"/. /
5+
cp -avf "/ctx/system_files/robin"/. /
6+
7+
sed -i 's/^#Include = \/etc\/pacman.conf.d\/\*.conf/Include = \/etc\/pacman.conf.d\/\*.conf/' /etc/pacman.conf
8+
9+
if ! grep -q '^\[multilib\]' /etc/pacman.conf; then
10+
sed -i '/^#\[multilib\]/s/^#//' /etc/pacman.conf
11+
if ! grep -q '^\[multilib\]' /etc/pacman.conf; then
12+
echo -e '\n[multilib]\nInclude = /etc/pacman.d/mirrorlist' >> /etc/pacman.conf
13+
fi
14+
fi
15+
16+
pacman -Syu --noconfirm
17+
18+
PACKAGES=(
19+
niri
20+
quickshell
21+
greetd
22+
greetd-tuigreet
23+
24+
xdg-desktop-portal-wlr
25+
xdg-desktop-portal-gtk
26+
xdg-desktop-portal-gnome
27+
28+
fuzzel
29+
waybar
30+
mako
31+
swaybg
32+
swayidle
33+
swaylock
34+
xwayland-satellite
35+
36+
qt6-wayland
37+
qt6-5compat
38+
qt6-imageformats
39+
40+
pipewire
41+
pipewire-alsa
42+
pipewire-pulse
43+
pipewire-jack
44+
wireplumber
45+
46+
polkit
47+
polkit-gnome
48+
49+
grim
50+
slurp
51+
wl-clipboard
52+
cliphist
53+
54+
brightnessctl
55+
playerctl
56+
57+
ttf-jetbrains-mono-nerd
58+
ttf-material-symbols-variable-git
59+
ttf-roboto-flex
60+
61+
xdg-user-dirs
62+
xdg-utils
63+
64+
fish
65+
git
66+
rsync
67+
tmux
68+
gum
69+
)
70+
71+
pacman -S --noconfirm --needed "${PACKAGES[@]}"
72+
73+
echo "::group:: Configure Greetd"
74+
75+
cat > /etc/greetd/config.toml <<'EOF'
76+
[terminal]
77+
vt = 1
78+
79+
[default_session]
80+
command = "tuigreet --time --remember --sessions /usr/share/wayland-sessions --asterisks --greeting 'Welcome to robin'"
81+
user = "greeter"
82+
EOF
83+
84+
mkdir -p /usr/share/wayland-sessions
85+
cat > /usr/share/wayland-sessions/niri.desktop <<'EOF'
86+
[Desktop Entry]
87+
Name=Niri
88+
Comment=A scrollable-tiling Wayland compositor
89+
Exec=niri-session
90+
TryExec=niri
91+
Type=Application
92+
DesktopNames=niri
93+
EOF
94+
95+
systemctl enable greetd
96+
97+
echo "::endgroup::"
98+
99+
echo "::group:: Configure Quickshell"
100+
101+
mkdir -p /usr/share/quickshell
102+
cat > /usr/share/quickshell/config.kdl <<'EOF'
103+
import Quickshell
104+
import Quickshell.Io
105+
106+
Shell {
107+
ScreenComponents {
108+
Bar {}
109+
}
110+
}
111+
EOF
112+
113+
echo "::endgroup::"
114+
115+
echo "::group:: Configure System"
116+
117+
shopt -s nullglob
118+
mkdir -p /usr/share/flatpak/preinstall.d/
119+
cp /ctx/custom/flatpaks/*.preinstall /usr/share/flatpak/preinstall.d/
120+
121+
mkdir -p /usr/share/just/
122+
find /ctx/custom/ujust -iname '*.just' -exec printf "\n\n" \; -exec cat {} \; >>/usr/share/just/60-custom.just
123+
124+
shopt -u nullglob
125+
126+
useradd -m -G wheel -s /bin/bash robin || true
127+
echo "robin:robin" | chpasswd || true
128+
129+
echo "uninitialized" > /etc/machine-id
130+
ln -sf /usr/share/zoneinfo/UTC /etc/localtime
131+
132+
systemctl enable greetd
133+
systemctl set-default graphical.target
134+
135+
systemctl --global enable pipewire.socket pipewire.service pipewire-pulse.service wireplumber.service
136+
137+
echo "::endgroup::"
138+
139+
echo "robin build complete!"

‎build_files/base/builder-robin.sh‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
set -ouex pipefail
3+
4+
# robin images derive from arch-bootc:testing and do all their work in the system
5+
# stage via build-robin.sh. This builder-stage script is a no-op placeholder so
6+
# the unified root Containerfile can drive robin uniformly.
7+
true
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
# Default Flatpak applications
2+
# These will be installed on first boot
3+
# Format: INI file with [Flatpak Preinstall NAME] groups
4+
# See: https://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak-preinstall
5+
6+
[Flatpak Preinstall io.github.tanaybhomia.Whisp]
7+
Branch=stable
8+
9+
[Flatpak Preinstall com.discordapp.Discord]
10+
Branch=stable
11+
12+
[Flatpak Preinstall com.heroicgameslauncher.hgl]
13+
Branch=stable
14+
15+
[Flatpak Preinstall it.mijorus.gearlever]
16+
Branch=stable
17+
18+
[Flatpak Preinstall org.kde.krita]
19+
Branch=stable
20+
21+
[Flatpak Preinstall com.ticktick.TickTick]
22+
Branch=stable
23+
24+
[Flatpak Preinstall com.jeffser.Alpaca]
25+
Branch=stable
26+
27+
[Flatpak Preinstall io.github.alainm23.planify]
28+
Branch=stable
29+
30+
[Flatpak Preinstall io.gitlab.news_flash.NewsFlash]
31+
Branch=stable
32+
33+
[Flatpak Preinstall moe.launcher.the-honkers-railway-launcher]
34+
Branch=stable
35+
36+
[Flatpak Preinstall moe.launcher.sleepy-launcher]
37+
Branch=stable
38+
39+
[Flatpak Preinstall moe.launcher.an-anime-game-launcher]
40+
Branch=stable
41+
42+
[Flatpak Preinstall io.github.dvlv.boxbuddyrs]
43+
Branch=stable
44+
45+
[Flatpak Preinstall net.runelite.RuneLite]
46+
Branch=stable
47+
48+
[Flatpak Preinstall io.github.faridjaff.StickyNotesCanvas]
49+
Branch=stable
50+
51+
[Flatpak Preinstall org.localsend.localsend_app]
52+
Branch=stable
53+
54+
[Flatpak Preinstall net.lutris.Lutris]
55+
Branch=stable
56+
57+
[Flatpak Preinstall de.haeckerfelix.Shortwave]
58+
Branch=stable
59+
60+
[Flatpak Preinstall dev.geopjr.Calligraphy]
61+
Branch=stable
62+
63+
[Flatpak Preinstall org.kde.audiotube]
64+
Branch=stable
65+
66+
[Flatpak Preinstall info.febvre.Komikku]
67+
Branch=stable
68+
69+
[Flatpak Preinstall us.zoom.Zoom]
70+
Branch=stable
71+
72+
[Flatpak Preinstall com.protonvpn.www]
73+
Branch=stable
74+
75+
[Flatpak Preinstall com.super_productivity.SuperProductivity]
76+
Branch=stable
77+
78+
[Flatpak Preinstall org.gnome.gitlab.ilhooq.Bookup]
79+
Branch=stable
80+
81+
[Flatpak Preinstall com.vysp3r.ProtonPlus]
82+
Branch=stable
83+
84+
[Flatpak Preinstall md.obsidian.Obsidian]
85+
Branch=stable
86+
87+
[Flatpak Preinstall org.inkscape.Inkscape]
88+
Branch=stable
89+
90+
[Flatpak Preinstall org.zotero.Zotero]
91+
Branch=stable
92+
93+
[Flatpak Preinstall io.github.qwersyk.Newelle]
94+
Branch=stable
95+
96+
[Flatpak Preinstall com.google.Chrome]
97+
Branch=stable
98+
99+
[Flatpak Preinstall com.valvesoftware.Steam]
100+
Branch=stable
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# vim: set ft=make :
2+
####################
3+
### custom-apps.just
4+
####################
5+
## Application installation commands
6+
7+
# Install a Flatpak application from Flathub
8+
[group('Apps')]
9+
install-flatpak APP_ID:
10+
#!/usr/bin/bash
11+
echo "Installing {{ APP_ID }} from Flathub..."
12+
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
13+
flatpak install -y flathub {{ APP_ID }}
14+
15+
# Example: Install VSCode via Flatpak
16+
[group('Apps')]
17+
install-vscode:
18+
ujust install-flatpak com.visualstudio.code
19+
20+
# Example: Install GIMP via Flatpak
21+
[group('Apps')]
22+
install-gimp:
23+
ujust install-flatpak org.gimp.GIMP

0 commit comments

Comments
 (0)