From ca1ba96a639a39ed06022f69ef2238ff4ec80bd7 Mon Sep 17 00:00:00 2001 From: Timothée Ravier Date: Jul 03 2023 15:39:51 +0000 Subject: Kinoite: Add gdb-minimal and symlink to gdb DrKonqi currently looks for the gdb binary in the PATH and we can not include the full gdb package as it brings dnf with it. Let's include gdb-minimal as that should be enough for crash reporting to work with DrKonqi. See: https://pagure.io/fedora-kde/SIG/issue/218 --- diff --git a/fedora-kinoite.yaml b/fedora-kinoite.yaml index 0c63c13..9dc54df 100644 --- a/fedora-kinoite.yaml +++ b/fedora-kinoite.yaml @@ -26,6 +26,8 @@ packages: - mobile-broadband-provider-info # Make sure that modem support is installed - NetworkManager-ppp + # Install gdb-minimal to make getting backtraces work with DrKonqi + - gdb-minimal # Make sure the following are not pulled in when Recommended by other packages exclude-packages: @@ -37,6 +39,14 @@ exclude-packages: - tracker - tracker-miners +# Kinoite specific workarounds +postprocess: + - | + #!/bin/bash + set -xeuo pipefail + # Setup a symlink for gdb-minimal to use it as default gdb + echo "L /usr/local/bin/gdb - - - - /usr/bin/gdb-minimal" > /usr/lib/tmpfiles.d/kinoite-gdb.conf + repos: - fedora-rawhide # - fedora-39