Skip to content

Commit

Permalink
CI: Workaround resetting tsflags=nodocs
Browse files Browse the repository at this point in the history
We need installing glib2 documentation files for building libmodulemd
documentation.

rpm-software-management/dnf5#1331
  • Loading branch information
ppisar committed May 15, 2024
1 parent 9c266b0 commit 1257009
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .ci/fedora/get_fedora_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
# <https://github.com/rpm-software-management/dnf5/issues/1331>.
sed -i -e 's/\<nodocs\>//' /etc/dnf/dnf.conf

dnf --dump-main-config -y --setopt=install_weak_deps=False --setopt=tsflags='' \
--nogpgcheck --quiet install --skip-broken \
python3-black \
clang \
Expand Down

0 comments on commit 1257009

Please sign in to comment.