Skip to content

Commit f562538

Browse files
committed
wip: initial attempt to build UKI
1 parent d59874c commit f562538

File tree

31 files changed

+573
-710
lines changed

31 files changed

+573
-710
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- uses: actions-rs/cargo@v1
4646
with:
4747
command: build
48-
args: --release --target ${{ matrix.target }} --exclude goldboot-linux
48+
args: --release --target ${{ matrix.target }} --exclude goldboot-uki
4949

5050
- uses: actions/upload-artifact@v4
5151
with:
@@ -68,7 +68,7 @@ jobs:
6868
fi
6969
done
7070
71-
goldboot-linux:
71+
goldboot-uki:
7272
runs-on: ubuntu-24.04
7373
needs: linux
7474
steps:
@@ -84,24 +84,24 @@ jobs:
8484
command: build
8585
args: --release
8686

87-
- name: Build goldboot-linux image x86_64
87+
- name: Build goldboot-uki image x86_64
8888
run: |
8989
export RUST_BACKTRACE=1
9090
export RUST_LOG=debug
91-
target/release/goldboot init --os Goldboot --executable target/release/goldboot-linux
92-
target/release/goldboot cast --output goldboot-linux-x86_64.gb .
91+
target/release/goldboot init --os Goldboot --executable target/release/goldboot-uki
92+
target/release/goldboot cast --output goldboot-uki-x86_64.gb .
9393
9494
- name: Upload artifacts to release
9595
env:
9696
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9797
GH_REPO: ${{ github.repository }}
9898
run: |
9999
for tag in $(git tag --points-at HEAD); do
100-
if [ "${tag%-*}" = "goldboot-linux" ]; then
100+
if [ "${tag%-*}" = "goldboot-uki" ]; then
101101
mv target/release/${tag%-*} "${tag%-*}_x86_64-unknown-linux-gnu"
102102
gh release upload "${tag}" "${tag%-*}_x86_64-unknown-linux-gnu"
103103
104-
mv goldboot-linux-x86_64.gb "${tag%-*}_x86_64-unknown-linux-gnu.gb"
104+
mv goldboot-uki-x86_64.gb "${tag%-*}_x86_64-unknown-linux-gnu.gb"
105105
gh release upload "${tag}" "${tag%-*}_x86_64-unknown-linux-gnu.gb"
106106
fi
107107
done
@@ -122,7 +122,7 @@ jobs:
122122
- uses: actions-rs/cargo@v1
123123
with:
124124
command: build
125-
args: --release --exclude goldboot-linux
125+
args: --release --exclude goldboot-uki
126126

127127
- uses: actions/upload-artifact@v4
128128
with:
@@ -156,7 +156,7 @@ jobs:
156156
- uses: actions-rs/cargo@v1
157157
with:
158158
command: build
159-
args: --release --exclude goldboot-linux
159+
args: --release --exclude goldboot-uki
160160

161161
- uses: actions/upload-artifact@v4
162162
with:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ jobs:
5252
if: hashFiles('Cargo.lock') == ''
5353
run: cargo generate-lockfile
5454
- name: cargo test
55-
run: cargo test --locked --all-features --all-targets --workspace --exclude goldboot-linux
55+
run: cargo test --locked --all-features --all-targets --workspace --exclude goldboot-uki

Cargo.lock

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ strip = true
55
members = [
66
"goldboot",
77
"goldboot-image",
8-
"goldboot-linux",
8+
"goldboot-uki",
99
"goldboot-macros",
1010
"goldboot-registry",
1111
]

goldboot-linux/README.md

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

goldboot-linux/src/main.rs

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

goldboot-uefi/Cargo.toml

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

goldboot-uefi/src/main.rs

Lines changed: 0 additions & 3 deletions
This file was deleted.
File renamed without changes.

goldboot-linux/Cargo.toml renamed to goldboot-uki/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "A command-line application for building goldboot images"
44
edition = "2024"
55
homepage = "https://goldboot.org"
66
license = "Unlicense"
7-
name = "goldboot-linux"
7+
name = "goldboot-uki"
88
repository = "https://github.com/fossable/goldboot"
99
rust-version = "1.85"
1010
version = "0.0.3"

0 commit comments

Comments
 (0)