kinoite: Re-split shared manifest to not depend on variant

Variant names are Fedora specific, so we should not depend on those in
shared manifests. Thus re-split the shared config into a shared
manifests for Kinoite and Kinoite Mobile.
This commit is contained in:
Timothée Ravier 2025-10-17 12:16:29 +02:00
commit 9ff17decab
4 changed files with 62 additions and 64 deletions

View file

@ -1,65 +1,10 @@
metadata:
summary: "Fedora Kinoite"
# Default to Kinoite and override in Kinoite Mobile manifests
variables:
variant: "kinoite"
include:
- kinoite-shared.yaml
- common.yaml
conditional-include:
- if: variant == "kinoite"
include:
- packages/kinoite.yaml
- if: variant == "kinoite-mobile"
include:
- packages/kinoite-mobile.yaml
packages:
# Install some minor optional tools for KInfoCenter
- vulkan-tools
- xdpyinfo
# Includes a KIO & KCM (can not be Flatpak'ed), used by Dolphin and Gwenview
# See https://pagure.io/fedora-kde/SIG/issue/291
- kamera
# Make sure that previous Anaconda dependencies are kept in the image
# See: https://pagure.io/fedora-kde/SIG/issue/243
- mobile-broadband-provider-info
# Make sure that modem support is installed
- NetworkManager-ppp
# Install gdb to make getting backtraces work with DrKonqi
- gdb
# Make sure rpm-ostree support is installed
- plasma-discover-rpm-ostree
# Make sure the following are not pulled in when Recommended by other packages
exclude-packages:
- plasma-discover-offline-updates
- plasma-discover-packagekit
- plasma-pk-updates
# Manually excluded as recommended by gtk3 (and likely gtk4 in the future)
# See https://pagure.io/fedora-kde/SIG/issue/124
- tracker
- tracker-miners
- localsearch
- tinysparql
# Ensure we do not include X11 support
- plasma-x11
- plasma-workspace-x11
# Exclude mariadb server tools that bring in Perl
- mariadb-server-utils
# Kinoite specific workarounds and configuration
postprocess:
- |
#!/bin/bash
set -xeuo pipefail
# Enable weekly auto updates in Discover. In the future, Flatpaks will be
# updated daily. See: https://bugs.kde.org/show_bug.cgi?id=454422
cat > /etc/xdg/PlasmaDiscoverUpdates <<EOF
[Global]
UseUnattendedUpdates=true
RequiredNotificationInterval=604800
EOF
- packages/kinoite.yaml

View file

@ -0,0 +1,10 @@
metadata:
summary: "Fedora Kinoite Mobile"
variables:
variant: "kinoite-mobile"
include:
- kinoite-shared.yaml
- common.yaml
- packages/kinoite-mobile.yaml

View file

@ -1,11 +1,5 @@
metadata:
summary: "Fedora Kinoite Mobile"
variables:
variant: "kinoite-mobile"
include:
- kinoite-common.yaml
- kinoite-mobile-common.yaml
# Kept in the leaf manifest as they are overwritten by Pungi in composes
repos:

49
kinoite-shared.yaml Normal file
View file

@ -0,0 +1,49 @@
# Shared manifest between Kinoite & Kinoite Mobile
packages:
# Install some minor optional tools for KInfoCenter
- vulkan-tools
- xdpyinfo
# Includes a KIO & KCM (can not be Flatpak'ed), used by Dolphin and Gwenview
# See https://pagure.io/fedora-kde/SIG/issue/291
- kamera
# Make sure that previous Anaconda dependencies are kept in the image
# See: https://pagure.io/fedora-kde/SIG/issue/243
- mobile-broadband-provider-info
# Make sure that modem support is installed
- NetworkManager-ppp
# Install gdb to make getting backtraces work with DrKonqi
- gdb
# Make sure rpm-ostree support is installed
- plasma-discover-rpm-ostree
# Make sure the following are not pulled in when Recommended by other packages
exclude-packages:
- plasma-discover-offline-updates
- plasma-discover-packagekit
- plasma-pk-updates
# Manually excluded as recommended by gtk3 (and likely gtk4 in the future)
# See https://pagure.io/fedora-kde/SIG/issue/124
- tracker
- tracker-miners
- localsearch
- tinysparql
# Ensure we do not include X11 support
- plasma-x11
- plasma-workspace-x11
# Exclude mariadb server tools that bring in Perl
- mariadb-server-utils
# Kinoite specific workarounds and configuration
postprocess:
- |
#!/bin/bash
set -xeuo pipefail
# Enable weekly auto updates in Discover. In the future, Flatpaks will be
# updated daily. See: https://bugs.kde.org/show_bug.cgi?id=454422
cat > /etc/xdg/PlasmaDiscoverUpdates <<EOF
[Global]
UseUnattendedUpdates=true
RequiredNotificationInterval=604800
EOF