From 9ff17decab03896e0d71a82862b2cc34abbbdcaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Ravier?= Date: Fri, 17 Oct 2025 12:16:29 +0200 Subject: [PATCH] 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. --- kinoite-common.yaml | 59 ++------------------------------------ kinoite-mobile-common.yaml | 10 +++++++ kinoite-mobile.yaml | 8 +----- kinoite-shared.yaml | 49 +++++++++++++++++++++++++++++++ 4 files changed, 62 insertions(+), 64 deletions(-) create mode 100644 kinoite-mobile-common.yaml create mode 100644 kinoite-shared.yaml diff --git a/kinoite-common.yaml b/kinoite-common.yaml index 23a9498..2d20d67 100644 --- a/kinoite-common.yaml +++ b/kinoite-common.yaml @@ -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 < /etc/xdg/PlasmaDiscoverUpdates <