#394 Kinoite: Add gdb-minimal and symlink to gdb
Closed 5 months ago by siosm. Opened 6 months ago by siosm.
siosm/workstation-ostree-config main-kinoite-gdb  into  main

file modified
+10
@@ -26,6 +26,8 @@ 

    - 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 @@ 

    - 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

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

rebased onto ca1ba96

5 months ago

Closing as we'll take another approach.

Pull-Request has been closed by siosm

5 months ago
Metadata