From 125700983cc3afbb146522c3dfa05f6f7e048dd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 15 May 2024 14:38:24 +0200 Subject: [PATCH] CI: Workaround resetting tsflags=nodocs We need installing glib2 documentation files for building libmodulemd documentation. https://github.com/rpm-software-management/dnf5/issues/1331 --- .ci/fedora/get_fedora_deps.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.ci/fedora/get_fedora_deps.sh b/.ci/fedora/get_fedora_deps.sh index d99d5f73..6bf53cb5 100755 --- a/.ci/fedora/get_fedora_deps.sh +++ b/.ci/fedora/get_fedora_deps.sh @@ -6,7 +6,11 @@ set -x SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" pushd $SCRIPT_DIR -dnf -y --setopt=install_weak_deps=False --setopt=tsflags='' \ +# Work around a DNF5 bug with resetting tsflags +# . +sed -i -e 's/\//' /etc/dnf/dnf.conf + +dnf --dump-main-config -y --setopt=install_weak_deps=False --setopt=tsflags='' \ --nogpgcheck --quiet install --skip-broken \ python3-black \ clang \