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
|
||||
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
|
||||
|
|
|
|||
16
README.md
16
README.md
|
|
@ -6,14 +6,15 @@ After setup, it is recommended you update this README to describe your custom im
|
|||
|
||||
## Installation
|
||||
|
||||
> **Warning**
|
||||
> **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
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
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