Skip to content

Commit 99203e1

Browse files
committed
Added hyprland support to Titanoboa
1 parent 095aa49 commit 99203e1

File tree

4 files changed

+30
-76
lines changed

4 files changed

+30
-76
lines changed

.github/workflows/build-disk.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,14 @@ jobs:
5353

5454
- name: Build ISO
5555
id: build
56-
uses: ublue-os/titanoboa@main
56+
uses: binarypie-dev/titanoboa@main
5757
with:
5858
image-ref: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ matrix.variant.tag }}
5959
iso-dest: ${{ github.workspace }}/output.iso
6060
builder-distro: fedora
61-
livesys: false
62-
hook-post-rootfs: ${{ github.workspace }}/iso_files/configure_live_session.sh
61+
livesys: true
62+
livesys-repo: binarypie/hypercube
63+
flatpaks-list: ${{ github.workspace }}/flatpaks/system-flatpaks.list
6364

6465
- name: Rename ISO and generate checksum
6566
id: rename

Justfile

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# Hypercube Build System
2-
# Aligned with Bluefin patterns for consistency
32

43
# Configuration
54
export repo_organization := env("REPO_ORGANIZATION", "binarypie-dev")
65
export image_name := env("IMAGE_NAME", "hypercube")
7-
export base_image := env("BASE_IMAGE", "ghcr.io/ublue-os/bluefin-dx")
8-
export base_image_nvidia := env("BASE_IMAGE_NVIDIA", "ghcr.io/ublue-os/bluefin-dx-nvidia")
6+
export base_image := env("BASE_IMAGE", "ghcr.io/ublue-os/base-main")
7+
export base_image_nvidia := env("BASE_IMAGE_NVIDIA", "ghcr.io/ublue-os/base-nvidia")
98
export default_tag := env("DEFAULT_TAG", "stable-daily")
109

1110
# Runtime detection
@@ -117,7 +116,7 @@ _titanoboa-setup:
117116
git -C _titanoboa pull --ff-only || true
118117
else
119118
echo "Cloning Titanoboa..."
120-
git clone --depth 1 "https://github.com/ublue-os/titanoboa.git" _titanoboa
119+
git clone --depth 1 "https://github.com/binarypie-dev/titanoboa.git" _titanoboa
121120
fi
122121
# Patch Titanoboa to use --policy=missing for local image builds
123122
sed -i 's/PODMAN }} pull /PODMAN }} pull --policy=missing /' _titanoboa/Justfile
@@ -157,10 +156,18 @@ build-iso flavor="main": _titanoboa-setup
157156
fi
158157

159158
# Build ISO with Titanoboa
160-
# livesys=0 skips Fedora livesys scripts (we use Calamares instead)
161-
# hook-post-rootfs sets up live user, Calamares, and auto-login
159+
# livesys=1 enables livesys-scripts from binarypie/hypercube COPR (includes Hyprland support)
160+
# Parameters (positional): image livesys flatpaks_file compression extra_kargs container_image polkit livesys_repo
162161
cd _titanoboa
163-
{{ SUDO }} HOOK_POST_ROOTFS="${PWD}/../iso_files/configure_live_session.sh" just build "${IMAGE_FULL}" livesys=0
162+
{{ SUDO }} just build \
163+
"${IMAGE_FULL}" \
164+
1 \
165+
"${PWD}/../flatpaks/system-flatpaks.list" \
166+
squashfs \
167+
NONE \
168+
"${IMAGE_FULL}" \
169+
1 \
170+
binarypie/hypercube
164171

165172
# Fix ownership
166173
if [[ "${UID}" -gt 0 ]]; then
@@ -199,10 +206,18 @@ build-iso-ghcr flavor="main": _titanoboa-setup
199206

200207
echo "Building ISO for ${IMAGE_FULL}..."
201208

202-
# livesys=0 skips Fedora livesys scripts (we use Calamares instead)
203-
# hook-post-rootfs sets up live user, Calamares, and auto-login
209+
# livesys=1 enables livesys-scripts from binarypie/hypercube COPR (includes Hyprland support)
210+
# Parameters (positional): image livesys flatpaks_file compression extra_kargs container_image polkit livesys_repo
204211
cd _titanoboa
205-
{{ SUDO }} HOOK_POST_ROOTFS="${PWD}/../iso_files/configure_live_session.sh" just build "${IMAGE_FULL}" livesys=0
212+
{{ SUDO }} just build \
213+
"${IMAGE_FULL}" \
214+
1 \
215+
"${PWD}/../flatpaks/system-flatpaks.list" \
216+
squashfs \
217+
NONE \
218+
"${IMAGE_FULL}" \
219+
1 \
220+
binarypie/hypercube
206221

207222
if [[ "${UID}" -gt 0 ]]; then
208223
{{ SUDO }} chown "${UID}:$(id -g)" -R "${PWD}"

flatpaks/system-flatpaks.list

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Hypercube System Flatpaks

iso_files/configure_live_session.sh

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)