Skip to content

Commit 7c97abf

Browse files
committed
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. rpm-software-management/dnf5#1331
1 parent 2561457 commit 7c97abf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.ci/fedora/get_fedora_deps.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ set -x
66
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
77
pushd $SCRIPT_DIR
88

9+
# Work around a DNF5 bug with resetting tsflags
10+
# <https://github.com/rpm-software-management/dnf5/issues/1331>.
11+
sed -i -e 's/\<nodocs\>//' /etc/dnf/dnf.conf
12+
913
dnf -y --setopt=install_weak_deps=False --setopt=tsflags='' \
1014
--nogpgcheck --quiet install --skip-broken \
1115
python3-black \

0 commit comments

Comments
 (0)