Skip to content

Commit 9472d89

Browse files
committed
CI: Adapt for dnf5
DNF5 is stricter in distinguishing between global and subcommand options. --skip-broken belongs to install subcommand.
1 parent a38019e commit 9472d89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.ci/fedora/get_fedora_deps.sh

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

99
dnf -y --setopt=install_weak_deps=False --setopt=tsflags='' \
10-
--nogpgcheck --skip-broken --quiet install \
10+
--nogpgcheck --quiet install --skip-broken \
1111
python3-black \
1212
clang \
1313
clang-analyzer \

fedora/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- classic
1111
tasks:
1212
- name: Make sure fedpkg and selinux bindings are installed
13-
shell: dnf -y install fedpkg python{2,3}-libselinux libmodulemd-devel --skip-broken
13+
shell: dnf -y install --skip-broken fedpkg python{2,3}-libselinux libmodulemd-devel
1414
- name: Copy spec file to remote machine
1515
copy:
1616
src: "{{ playbook_dir }}/../libmodulemd.spec"

0 commit comments

Comments
 (0)