Skip to content

Commit 2b34226

Browse files
authored
Ensure dnf builddep is installed in Fedora (#466)
Resolves: #465 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
1 parent 4c6d5d9 commit 2b34226

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/install-dependencies

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ debian:*|ubuntu:*)
3434
dnf -y clean all
3535
dnf -y --setopt=deltarpm=0 update
3636
dnf -y install dnf-utils jq socat cryptsetup keyutils cracklib-dicts lsof
37+
command -v dnf5 && dnf5 -y install dnf5-command\(builddep\) || dnf -y install dnf-command\(builddep\)
3738
dnf -y builddep clevis
3839
;;
3940

0 commit comments

Comments
 (0)