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. DNF5 fails to remove nodocs from configuration-file
tsflags using a command-line option.

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

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

0 comments on commit 7c97abf

Please sign in to comment.