ci/toolbox: Install glib debuginfo package

With this package, gdb is able to resolve GTypes and adds a few other
nice features. Let's install it by default.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3365>
This commit is contained in:
Sebastian Wick 2024-06-10 12:53:58 +02:00
parent c576f82bdf
commit 2d5307c01d

View File

@ -35,8 +35,12 @@ build_container() {
abattis-cantarell-fonts # system font
gnome-backgrounds # no blank background!
)
local debug_packages=(
glib2 # makes gdb much more useful
)
buildah run $build_cntr dnf config-manager --set-disabled '*-openh264'
buildah run $build_cntr dnf install -y "${extra_packages[@]}"
buildah run $build_cntr dnf debuginfo-install -y "${debug_packages[@]}"
buildah run $build_cntr dnf clean all
buildah run $build_cntr rm -rf /var/lib/cache/dnf