Skip to content

Commit 77f868b

Browse files
Merge pull request #1 from TriangularDev/dev
Merge the first test release (13 Bepis)
2 parents 2f1ea26 + 7db1db8 commit 77f868b

File tree

18 files changed

+219
-13
lines changed

18 files changed

+219
-13
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Build TriOS ISO (Dev branch)
2+
3+
on:
4+
push:
5+
branches: [ dev ]
6+
7+
jobs:
8+
build-trios:
9+
name: Build and Package ISO
10+
runs-on: self-hosted
11+
12+
steps:
13+
- name: Checkout Repository
14+
uses: actions/checkout@v4
15+
16+
- name: Set up variables
17+
id: vars
18+
shell: bash
19+
run: |
20+
_commit_hash=$(git rev-parse --short HEAD)
21+
echo "commit_hash=${_commit_hash}" >> "$GITHUB_OUTPUT"
22+
mkdir -p ~/TriOs_Output
23+
24+
- name: Debug commit hash
25+
run: |
26+
echo "Commit hash is: ${{ steps.vars.outputs.commit_hash }}"
27+
28+
- name: Build Docker Image
29+
working-directory: ./builder
30+
run: |
31+
docker build -t trios-builder .
32+
33+
- name: Run Docker Container (Privileged)
34+
run: |
35+
docker run --rm -i \
36+
--privileged \
37+
-v "./Trixie:/TriOs" \
38+
-v "$HOME/TriOs_Output:/TriOs_Output" \
39+
trios-builder
40+
41+
- name: Verify ISO Output
42+
run: |
43+
ls -lh ~/TriOs_Output || true
44+
45+
- name: Upload ISO Artifact
46+
uses: actions/upload-artifact@v4
47+
with:
48+
name: trios-dev-${{ steps.vars.outputs.commit_hash }}.iso
49+
path: ~/TriOs_Output/live-image-amd64.hybrid.iso
50+
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Build TriOS ISO (Nightly)
2+
3+
on:
4+
schedule:
5+
# Runs every day at midnight UTC
6+
- cron: "0 0 * * *"
7+
8+
jobs:
9+
build-trios:
10+
name: Build and Package ISO
11+
runs-on: self-hosted
12+
13+
steps:
14+
- name: Checkout Repository
15+
uses: actions/checkout@v4
16+
17+
- name: Set up variables
18+
id: vars
19+
shell: bash
20+
run: |
21+
_timestamp=$(date -u +"%Y-%m-%dT%H-%M-%SZ")
22+
echo "timestamp=${_timestamp}" >> "$GITHUB_OUTPUT"
23+
mkdir -p ~/TriOs_Output
24+
25+
- name: Debug timestamp
26+
run: |
27+
echo "Timestamp is: ${{ steps.vars.outputs.timestamp }}"
28+
29+
- name: Build Docker Image
30+
working-directory: ./builder
31+
run: |
32+
docker build -t trios-builder .
33+
34+
- name: Run Docker Container (Privileged)
35+
run: |
36+
docker run --rm -i \
37+
--privileged \
38+
-v "./Trixie:/TriOs" \
39+
-v "$HOME/TriOs_Output:/TriOs_Output" \
40+
trios-builder
41+
42+
- name: Verify ISO Output
43+
run: |
44+
ls -lh ~/TriOs_Output || true
45+
46+
- name: Upload ISO Artifact
47+
uses: actions/upload-artifact@v4
48+
with:
49+
name: trios-nightly-${{ steps.vars.outputs.timestamp }}.iso
50+
path: ~/TriOs_Output/live-image-amd64.hybrid.iso
51+
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Build TriOS ISO (Prod branch)
2+
3+
on:
4+
push:
5+
branches: [ prod ]
6+
7+
jobs:
8+
build-trios:
9+
name: Build and Package ISO
10+
runs-on: self-hosted
11+
12+
steps:
13+
- name: Checkout Repository
14+
uses: actions/checkout@v4
15+
16+
- name: Set up variables
17+
id: vars
18+
shell: bash
19+
run: |
20+
_version=$(cat ./Trixie/release_name | tr -d '\n\r')
21+
echo "version=${_version}" >> "$GITHUB_OUTPUT"
22+
mkdir -p ~/TriOs_Output
23+
24+
- name: Debug version
25+
run: |
26+
echo "Version is: ${{ steps.vars.outputs.version }}"
27+
28+
- name: Build Docker Image
29+
working-directory: ./builder
30+
run: |
31+
docker build -t trios-builder .
32+
33+
- name: Run Docker Container (Privileged)
34+
run: |
35+
docker run --rm -i \
36+
--privileged \
37+
-v "./Trixie:/TriOs" \
38+
-v "$HOME/TriOs_Output:/TriOs_Output" \
39+
trios-builder
40+
41+
- name: Verify ISO Output
42+
run: |
43+
ls -lh ~/TriOs_Output || true
44+
45+
- name: Upload ISO Artifact
46+
uses: actions/upload-artifact@v4
47+
with:
48+
name: trios-prod-${{ steps.vars.outputs.version }}.iso
49+
path: ~/TriOs_Output/live-image-amd64.hybrid.iso
50+

LICENSE

100644100755
File mode changed.

README.md

100644100755
Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,16 @@ Please note:
3636
## Downloads
3737
TriOs was made for amd64. Future builds may also be available for i386 (32 bit) and arm64. TriOs hasn't been tested on arm64 or i386, but if you wish to try it anyway, you can build it yourself.
3838

39+
You MUST have a working internet connection when installing TriOs.
40+
3941
Recommended builds:
4042

41-
- [Latest Release (V.1.0)](add-url-here-later-kthxbai)
43+
- [Latest Release (13 Bepis)](https://nightly.link/TriangularDev/TriOs/workflows/build-trios-trixie-prod/prod)
4244

4345
Unstable builds:
4446

45-
- [Nightly Build](add-url-here-later-kthxbai)
46-
- [Latest Commit](add-url-here-later-kthxbai)
47+
- [Nightly Build](https://nightly.link/TriangularDev/TriOs/workflows/build-trios-trixie-nightly/dev)
48+
- [Latest Commit](https://nightly.link/TriangularDev/TriOs/workflows/build-trios-trixie-dev/dev)
4749

4850
## Building the ISO from source
4951

@@ -60,14 +62,15 @@ sudo apt install live-build git debian-archive-keyring
6062

6163
```
6264
git clone https://github.com/TriangularDev/TriOs/
63-
cd TriOs
65+
cd TriOs/Trixie
6466
```
6567

6668
### Configure parameters
6769

6870
```
71+
lb config --initramfs live-boot
72+
lb config --bootappend-live "boot=live components union=overlay nopersistence"
6973
lb config --architecture amd64 # or i386/arm64
70-
lb config --archive-areas "main contrib non-free non-free-firmware"
7174
```
7275

7376
### Build the ISO
File renamed without changes.

config/binary renamed to Trixie/config/binary

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ LB_ZSYNC="true"
4646
LB_BUILD_WITH_CHROOT="true"
4747

4848
# $LB_DEBIAN_INSTALLER: set debian-installer
49-
# (Default: live)
50-
LB_DEBIAN_INSTALLER="live"
49+
# (Default: false)
50+
LB_DEBIAN_INSTALLER="false"
5151

5252
# $LB_DEBIAN_INSTALLER_DISTRIBUTION: set debian-installer suite
5353
# (Default: empty)
@@ -86,8 +86,8 @@ LB_ISO_PREPARER="live-build 3.0~a57-1; http://packages.qa.debian.org/live-build"
8686
LB_ISO_PUBLISHER="Debian Live project; http://live.debian.net/; debian-live@lists.debian.org"
8787

8888
# $LB_ISO_VOLUME: set iso volume (max 32 chars)
89-
# (Default: Debian trixie 20251004-12:24)
90-
LB_ISO_VOLUME="Debian trixie 20251004-12:24"
89+
# (Default: Debian trixie 20251012-14:40)
90+
LB_ISO_VOLUME="Debian trixie 20251012-14:40"
9191

9292
# $LB_EXT_BLOCKSIZE: set EXT block size
9393
# (Default: unset)
@@ -110,8 +110,8 @@ LB_JFFS2_ERASEBLOCK=""
110110
LB_MEMTEST="memtest86+"
111111

112112
# $LB_WIN32_LOADER: set win32-loader
113-
# (Default: true)
114-
LB_WIN32_LOADER="true"
113+
# (Default: false)
114+
LB_WIN32_LOADER="false"
115115

116116
# $LB_NET_ROOT_FILESYSTEM: set netboot filesystem
117117
# (Default: nfs)
File renamed without changes.

config/common renamed to Trixie/config/common

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ LB_INITRAMFS="live-boot"
7272
LB_INITRAMFS_COMPRESSION=""
7373

7474
# $LB_INITSYSTEM: set init system
75-
# (Default: sysvinit)
76-
LB_INITSYSTEM="sysvinit"
75+
# (Default: systemd)
76+
LB_INITSYSTEM="systemd"
7777

7878
# $LB_FDISK: set fdisk program
7979
# (Default: autodetected)

0 commit comments

Comments
 (0)