🏡 index : quine-global-labs/mirror-fedora-workstation-ostree-config.git

# Fedora specific packages and configuration

# Note that this manifest must be additive only to allow downstream users to
# reuse the manifests in this project, excluding this one by setting the
# "distro" variable to their own value.

packages:
  - fedora-bookmarks
  - fedora-chromium-config
  - fedora-flathub-remote
  - fedora-workstation-backgrounds
  - fedora-workstation-repositories
  # Must be included in the image until we figure out how to transistion users
  # to the Flatpak'ed one. See: https://gitlab.com/fedora/ostree/sig/-/issues/3
  - firefox
  # Allow downstreams to use an alternative
  - toolbox

# Fedora specific packages for each variant
conditional-include:
  - if: variant == "silverblue"
    include:
      packages:
        - fedora-release-silverblue
        - desktop-backgrounds-gnome
        - gnome-shell-extension-background-logo
  - if: variant == "kinoite"
    include:
      packages:
        - fedora-release-kinoite
        # Explicitely not included via comps
        # See: https://pagure.io/fedora-kde/SIG/issue/295
        - plasma-welcome-fedora
  - if: variant == "kinoite-mobile"
    include:
      packages:
        - fedora-release-kinoite
        # Explicitely not included via comps
        # See: https://pagure.io/fedora-kde/SIG/issue/295
        - plasma-welcome-fedora
  - if: variant == "sway-atomic"
    include:
      packages:
        - fedora-release-sway-atomic
  - if: variant == "budgie-atomic"
    include:
      packages:
        - fedora-release-budgie-atomic
  - if: variant == "cosmic-atomic"
    include:
      packages:
        - fedora-release-cosmic-atomic
  - if: variant == "base-atomic"
    include:
      packages:
        - fedora-release
        - fedora-release-ostree-desktop
  # Include ostree remote configuration only on classic ostree variants
  - if: bootable_container == false
    include:
      packages:
        - fedora-repos-ostree

# Remove the Google Chrome repo from the list of Fedora Third Party enabled
# repos. Workaround for https://github.com/coreos/rpm-ostree/issues/5494
postprocess:
  - |
    #!/bin/bash
    set -xeuo pipefail

    sed -i -e '/google-chrome/,+2d' /usr/lib/fedora-third-party/conf.d/fedora-workstation.conf