Split recipe into common-modules.yml, and recipe_gnome.yml. Add recipe_gnome-nvidia-open and update build.yml to support building a new nvidia-compatible image in addition to the normal gnome image

This commit is contained in:
badblocks 2025-06-04 23:01:23 -07:00
parent 892fc68e4e
commit 6386f24d12
No known key found for this signature in database
5 changed files with 27 additions and 14 deletions

View file

@ -21,7 +21,8 @@ jobs:
fail-fast: false # stop GH from cancelling all matrix builds if one fails
matrix:
recipe:
- recipe.yml
- recipe_gnome.yml
- recipe_gnome-nvidia-open.yml
steps:
# the build is fully handled by the reusable github action
- name: Build Custom Image

View file

@ -8,12 +8,13 @@ After setup, it is recommended you update this README to describe your custom im
> **Warning**
> [This is an experimental feature](https://www.fedoraproject.org/wiki/Changes/OstreeNativeContainerStable), try at your own discretion.
First, install Bazzite normally, then rebase to this custom version!
To rebase an existing atomic Fedora installation to the latest build:
To rebase an existing atomic Fedora installation to this build, including Bazzite:
- First rebase to the unsigned image, to get the proper signing keys and policies installed:
```
rpm-ostree rebase ostree-unverified-registry:ghcr.io/badbl0cks/bazzite-custom:latest
rpm-ostree rebase ostree-unverified-registry:ghcr.io/badbl0cks/bazzite-badblocks-gnome:latest
```
- Reboot to complete the rebase:
```
@ -21,18 +22,19 @@ To rebase an existing atomic Fedora installation to the latest build:
```
- Then rebase to the signed image, like so:
```
rpm-ostree rebase ostree-image-signed:docker://ghcr.io/badbl0cks/bazzite-custom:latest
rpm-ostree rebase ostree-image-signed:docker://ghcr.io/badbl0cks/bazzite-badblocks-gnome:latest
```
- Reboot again to complete the installation
```
systemctl reboot
```
The `latest` tag will automatically point to the latest build. That build will still always use the Fedora version specified in `recipe.yml`, so you won't get accidentally updated to the next major version.
## Images
## ISO
Currently the following images are available:
- bazzite-badblocks-gnome
- bazzite-badblocks-gnome-nvidia-open
If build on Fedora Atomic, you can generate an offline ISO with the instructions available [here](https://blue-build.org/learn/universal-blue/#fresh-install-from-an-iso). These ISOs cannot unfortunately be distributed on GitHub for free due to large sizes, so for public projects something else has to be used for hosting.
## Verification

View file

@ -1,9 +1,3 @@
name: bazzite-badblocks-gnome
description: badblocks's custom bazzite-gnome build
base-image: ghcr.io/ublue-os/bazzite-gnome
image-version: latest
modules:
#- type: script
# scripts:

View file

@ -0,0 +1,8 @@
name: bazzite-badblocks-gnome-nvidia-open
description: badblocks's custom bazzite-gnome-nvidia-open build
base-image: ghcr.io/ublue-os/bazzite-gnome-nvidia-open
image-version: latest
modules:
- from-file: common-modules.yml

8
recipes/recipe_gnome.yml Normal file
View file

@ -0,0 +1,8 @@
name: bazzite-badblocks-gnome
description: badblocks's custom bazzite-gnome build
base-image: ghcr.io/ublue-os/bazzite-gnome
image-version: latest
modules:
- from-file: common-modules.yml