From ed32717b28692c88947133929bb8d314534f8591 Mon Sep 17 00:00:00 2001 From: Tulili Date: Thu, 29 Feb 2024 13:47:02 -0300 Subject: [PATCH] feat: GTS release + move some stuff to flatpak --- .github/workflows/build.yml | 3 +- config/common/apps.yml | 43 ++++++++++++++++++++++++ config/recipe-gts.yml | 13 +++++++ config/recipe-latest.yml | 13 +++++++ config/recipe.yml | 67 ------------------------------------- config/scripts/rt-kernel.sh | 16 +++++++++ 6 files changed, 87 insertions(+), 68 deletions(-) create mode 100644 config/common/apps.yml create mode 100644 config/recipe-gts.yml create mode 100644 config/recipe-latest.yml delete mode 100644 config/recipe.yml create mode 100644 config/scripts/rt-kernel.sh diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 081f030..53451ab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,8 @@ jobs: matrix: recipe: # !! Add your recipes here - - recipe.yml + - recipe-latest.yml + - recipe-gts.yml steps: # the build is fully handled by the reusable github action - name: Build Custom Image diff --git a/config/common/apps.yml b/config/common/apps.yml new file mode 100644 index 0000000..ca47ffa --- /dev/null +++ b/config/common/apps.yml @@ -0,0 +1,43 @@ +--- +- type: files + files: + - usr: /usr + +- type: rpm-ostree + install: + - qpwgraph + - krita + - blender + - inkscape + - ffmpeg + - ardour8 + - audacity + - qtractor + - hydrogen + - yoshimi + - rakarrack + - supercollider + - csound + - kdenlive + remove: + - firefox + - firefox-langpacks + +- type: default-flatpaks + notify: true + system: + install: + - org.mozilla.firefox + - com.obsproject.Studio.Plugin.OBSVkCapture + - org.freedesktop.Platform.VulkanLayer.OBSVkCapture + - com.obsproject.Studio + - org.gimp.GIMP + - org.gimp.GIMP.Plugin.BIMP + - org.gimp.GIMP.Plugin.Fourier + - org.gimp.GIMP.Plugin.Lensfun + - org.gimp.GIMP.Plugin.LiquidRescale + - org.kde.digikam + - com.github.qarmin.czkawka + - org.darktable.Darktable + +- type: signing diff --git a/config/recipe-gts.yml b/config/recipe-gts.yml new file mode 100644 index 0000000..f411da4 --- /dev/null +++ b/config/recipe-gts.yml @@ -0,0 +1,13 @@ +# image will be published to ghcr.io// +name: universal-studio-gts +# description will be included in the image's metadata +description: Operating system based on Fedora Silverblue meant for artists + +# the base image to build on top of (FROM) and the version tag to use +base-image: ghcr.io/ublue-os/kinoite-main +image-version: 38 # latest is also supported if you want new updates ASAP + +# module configuration, executed in order +# you can include multiple instances of the same module +modules: + - from-file: ./apps.yml diff --git a/config/recipe-latest.yml b/config/recipe-latest.yml new file mode 100644 index 0000000..79ceb2c --- /dev/null +++ b/config/recipe-latest.yml @@ -0,0 +1,13 @@ +# image will be published to ghcr.io// +name: universal-studio +# description will be included in the image's metadata +description: Operating system based on Fedora Silverblue meant for artists + +# the base image to build on top of (FROM) and the version tag to use +base-image: ghcr.io/ublue-os/kinoite-main +image-version: latest # latest is also supported if you want new updates ASAP + +# module configuration, executed in order +# you can include multiple instances of the same module +modules: + - from-file: ./apps.yml diff --git a/config/recipe.yml b/config/recipe.yml deleted file mode 100644 index 2df0f5b..0000000 --- a/config/recipe.yml +++ /dev/null @@ -1,67 +0,0 @@ -# image will be published to ghcr.io// -name: universal-studio -# description will be included in the image's metadata -description: Operating system based on Fedora Silverblue meant for artists - -# the base image to build on top of (FROM) and the version tag to use -base-image: ghcr.io/ublue-os/kinoite-main -image-version: latest # latest is also supported if you want new updates ASAP - -# module configuration, executed in order -# you can include multiple instances of the same module -modules: - - type: files - files: - - usr: /usr - # copies config/files/usr into your image's /usr. - # put configuration files you want in /etc/ on a booted system - # in /usr/etc/ in the image. read more in files module reference. - - - type: rpm-ostree - repos: # - https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora-%OS_VERSION%/atim-starship-fedora-%OS_VERSION%.repo - install: - # - micro - # - starship - - krita - - blender - - inkscape - - gimp - - gimp-lqr-plugin - - ffmpeg - - ardour8 - - helvum - - audacity - - qtractor - - hydrogen - - yoshimi - - rakarrack - - supercollider - - csound - - digikam - - darktable - - kdenlive - - obs-studio - - obs-studio-plugin-vkcapture - - remove: - - firefox # default firefox removed in favor of flatpak - - firefox-langpacks # langpacks needs to also be removed to prevent dependency problems - - - type: default-flatpaks - notify: true # Send notification after install/uninstall is finished (true/false) - system: - # If no repo information is specified, Flathub will be used by default - # repo-url: https://dl.flathub.org/repo/flathub.flatpakrepo - # repo-name: flathub - # repo-title: "Flathub (system-wide)" # Optional; this sets the remote's user-facing name in graphical frontends like GNOME Software - install: - - org.mozilla.firefox - # - org.gnome.Loupe - # - 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), - # only normal flatpak applications are (like Floorp Lightning web browser in this example). - # Installing different branches of the same Flatpak is not supported. - remove: - # - org.gnome.eog - - - type: signing # this sets up the proper policy & signing files for signed images to work fully diff --git a/config/scripts/rt-kernel.sh b/config/scripts/rt-kernel.sh new file mode 100644 index 0000000..86b62e1 --- /dev/null +++ b/config/scripts/rt-kernel.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +set -oue pipefail + +#rpm-ostree override replace \ +# --uninstall=kernel \ +# --uninstall=kernel-core \ +# --uninstall=kernel-modules \ +# --uninstall=kernel-headers \ +# --uninstall=kernel-devel \ +# --install= \ +# --install= \ +# --install= \ +# --install= \ +# --install= \ +# - KERNEL \ No newline at end of file