Merge pull request #45 from blue-build/fix-default-recipe-validation

fix: Make the recipe pass validation for new users
This commit is contained in:
fiftydinar
2024-12-04 23:04:32 +01:00
committed by GitHub

View File

@@ -1,3 +1,5 @@
---
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
# image will be published to ghcr.io/<user>/<name> # image will be published to ghcr.io/<user>/<name>
name: template name: template
# description will be included in the image's metadata # description will be included in the image's metadata
@@ -5,7 +7,7 @@ description: This is my personal OS image.
# the base image to build on top of (FROM) and the version tag to use # the base image to build on top of (FROM) and the version tag to use
base-image: ghcr.io/ublue-os/silverblue-main base-image: ghcr.io/ublue-os/silverblue-main
image-version: 40 # latest is also supported if you want new updates ASAP image-version: 41 # latest is also supported if you want new updates ASAP
# module configuration, executed in order # module configuration, executed in order
# you can include multiple instances of the same module # you can include multiple instances of the same module
@@ -17,32 +19,32 @@ modules:
- type: rpm-ostree - type: rpm-ostree
repos: repos:
# - https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora-%OS_VERSION%/atim-starship-fedora-%OS_VERSION%.repo - https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora-%OS_VERSION%/atim-starship-fedora-%OS_VERSION%.repo
install: install:
# - micro - micro
# - starship - starship
remove: remove:
# example: removing firefox (in favor of the flatpak) # example: removing firefox (in favor of the flatpak)
# "firefox" is the main package, "firefox-langpacks" is a dependency # "firefox" is the main package, "firefox-langpacks" is a dependency
# - firefox - firefox
# - firefox-langpacks # also remove firefox dependency (not required for all packages, this is a special case) - firefox-langpacks # also remove firefox dependency (not required for all packages, this is a special case)
- type: default-flatpaks - type: default-flatpaks
notify: true # Send notification after install/uninstall is finished (true/false) notify: true # Send notification after install/uninstall is finished (true/false)
system: system:
# If no repo information is specified, Flathub will be used by default # If no repo information is specified, Flathub will be used by default
# repo-url: https://dl.flathub.org/repo/flathub.flatpakrepo # repo-url: https://dl.flathub.org/repo/flathub.flatpakrepo
# repo-name: flathub repo-name: flathub
# repo-title: "Flathub (system-wide)" # Optional; this sets the remote's user-facing name in graphical frontends like GNOME Software repo-title: "Flathub (system-wide)" # Optional; this sets the remote's user-facing name in graphical frontends like GNOME Software
install: install:
# - org.mozilla.firefox - org.mozilla.firefox
# - org.gnome.Loupe - org.gnome.Loupe
# - one.ablaze.floorp//lightning # This is an example of flatpak which has multiple branches in selection (flatpak//branch). # - one.ablaze.floorp//lightning # This is an example of flatpak which has multiple branches in selection (flatpak//branch).
# Flatpak runtimes are not supported (like org.winehq.Wine//stable-23.08), # Flatpak runtimes are not supported (like org.winehq.Wine//stable-23.08),
# only normal flatpak applications are (like Floorp Lightning web browser in this example). # only normal flatpak applications are (like Floorp Lightning web browser in this example).
# Installing different branches of the same Flatpak is not supported. # Installing different branches of the same Flatpak is not supported.
remove: remove:
# - org.gnome.eog - org.gnome.eog
- type: signing # this sets up the proper policy & signing files for signed images to work fully - type: signing # this sets up the proper policy & signing files for signed images to work fully