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:
parent
892fc68e4e
commit
6386f24d12
5 changed files with 27 additions and 14 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
|
@ -21,7 +21,8 @@ jobs:
|
||||||
fail-fast: false # stop GH from cancelling all matrix builds if one fails
|
fail-fast: false # stop GH from cancelling all matrix builds if one fails
|
||||||
matrix:
|
matrix:
|
||||||
recipe:
|
recipe:
|
||||||
- recipe.yml
|
- recipe_gnome.yml
|
||||||
|
- recipe_gnome-nvidia-open.yml
|
||||||
steps:
|
steps:
|
||||||
# the build is fully handled by the reusable github action
|
# the build is fully handled by the reusable github action
|
||||||
- name: Build Custom Image
|
- name: Build Custom Image
|
||||||
|
|
|
||||||
14
README.md
14
README.md
|
|
@ -8,12 +8,13 @@ After setup, it is recommended you update this README to describe your custom im
|
||||||
|
|
||||||
> **Warning**
|
> **Warning**
|
||||||
> [This is an experimental feature](https://www.fedoraproject.org/wiki/Changes/OstreeNativeContainerStable), try at your own discretion.
|
> [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:
|
- 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:
|
- 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:
|
- 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
|
- Reboot again to complete the installation
|
||||||
```
|
```
|
||||||
systemctl reboot
|
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
|
## Verification
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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:
|
modules:
|
||||||
#- type: script
|
#- type: script
|
||||||
# scripts:
|
# scripts:
|
||||||
8
recipes/recipe_gnome-nvidia-open.yml
Normal file
8
recipes/recipe_gnome-nvidia-open.yml
Normal 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
8
recipes/recipe_gnome.yml
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue