|
1 | 1 | # Hypercube Build System |
2 | | -# Aligned with Bluefin patterns for consistency |
3 | 2 |
|
4 | 3 | # Configuration |
5 | 4 | export repo_organization := env("REPO_ORGANIZATION", "binarypie-dev") |
6 | 5 | 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") |
9 | 8 | export default_tag := env("DEFAULT_TAG", "stable-daily") |
10 | 9 |
|
11 | 10 | # Runtime detection |
@@ -117,7 +116,7 @@ _titanoboa-setup: |
117 | 116 | git -C _titanoboa pull --ff-only || true |
118 | 117 | else |
119 | 118 | 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 |
121 | 120 | fi |
122 | 121 | # Patch Titanoboa to use --policy=missing for local image builds |
123 | 122 | sed -i 's/PODMAN }} pull /PODMAN }} pull --policy=missing /' _titanoboa/Justfile |
@@ -157,10 +156,18 @@ build-iso flavor="main": _titanoboa-setup |
157 | 156 | fi |
158 | 157 |
|
159 | 158 | # 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 |
162 | 161 | 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 |
164 | 171 |
|
165 | 172 | # Fix ownership |
166 | 173 | if [[ "${UID}" -gt 0 ]]; then |
@@ -199,10 +206,18 @@ build-iso-ghcr flavor="main": _titanoboa-setup |
199 | 206 |
|
200 | 207 | echo "Building ISO for ${IMAGE_FULL}..." |
201 | 208 |
|
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 |
204 | 211 | 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 |
206 | 221 |
|
207 | 222 | if [[ "${UID}" -gt 0 ]]; then |
208 | 223 | {{ SUDO }} chown "${UID}:$(id -g)" -R "${PWD}" |
|
0 commit comments