Skip to content

Commit

Permalink
CI: Adapt for dnf5
Browse files Browse the repository at this point in the history
DNF5 is stricter in distinguishing between global and subcommand
options. --skip-broken belongs to install subcommand.
  • Loading branch information
ppisar committed May 15, 2024
1 parent a38019e commit 9472d89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ci/fedora/get_fedora_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
pushd $SCRIPT_DIR

dnf -y --setopt=install_weak_deps=False --setopt=tsflags='' \
--nogpgcheck --skip-broken --quiet install \
--nogpgcheck --quiet install --skip-broken \
python3-black \
clang \
clang-analyzer \
Expand Down
2 changes: 1 addition & 1 deletion fedora/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- classic
tasks:
- name: Make sure fedpkg and selinux bindings are installed
shell: dnf -y install fedpkg python{2,3}-libselinux libmodulemd-devel --skip-broken
shell: dnf -y install --skip-broken fedpkg python{2,3}-libselinux libmodulemd-devel
- name: Copy spec file to remote machine
copy:
src: "{{ playbook_dir }}/../libmodulemd.spec"
Expand Down

0 comments on commit 9472d89

Please sign in to comment.