From 7c97abf2f1ac31d2b9d3055c9b8a1284e59d3b4f 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. DNF5 fails to remove nodocs from configuration-file tsflags using a command-line option. https://github.com/rpm-software-management/dnf5/issues/1331 --- .ci/fedora/get_fedora_deps.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.ci/fedora/get_fedora_deps.sh b/.ci/fedora/get_fedora_deps.sh index d99d5f73..85767904 100755 --- a/.ci/fedora/get_fedora_deps.sh +++ b/.ci/fedora/get_fedora_deps.sh @@ -6,6 +6,10 @@ set -x SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" pushd $SCRIPT_DIR +# Work around a DNF5 bug with resetting tsflags +# . +sed -i -e 's/\//' /etc/dnf/dnf.conf + dnf -y --setopt=install_weak_deps=False --setopt=tsflags='' \ --nogpgcheck --quiet install --skip-broken \ python3-black \