Skip to content

Commit 1257009

Browse files
committed
CI: Workaround resetting tsflags=nodocs
We need installing glib2 documentation files for building libmodulemd documentation. rpm-software-management/dnf5#1331
1 parent 9c266b0 commit 1257009

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.ci/fedora/get_fedora_deps.sh

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

9-
dnf -y --setopt=install_weak_deps=False --setopt=tsflags='' \
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+
13+
dnf --dump-main-config -y --setopt=install_weak_deps=False --setopt=tsflags='' \
1014
--nogpgcheck --quiet install --skip-broken \
1115
python3-black \
1216
clang \

0 commit comments

Comments
 (0)