Skip to content

Commit 503f625

Browse files
committed
build: Fix rpmlint installation order for Oracle Linux 10
The rpmlint package requires dependencies from the CRB (CodeReady Builder) repository on Oracle Linux 10. Previous installation order was attempting to install rpmlint before the CRB repository was enabled. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
1 parent 2eefd85 commit 503f625

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hack/scripts/rpm-init.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@ case "$pkgrelease" in
6363
dnf config-manager --enable ol9_addons ol9_codeready_builder
6464
;;
6565
oraclelinux10)
66-
dnf install -y git rpm-build rpmlint dnf-plugins-core oraclelinux-release-el10 oracle-epel-release-el10
66+
dnf install -y dnf-plugins-core oraclelinux-release-el10 oracle-epel-release-el10
6767
dnf config-manager --enable ol10_addons ol10_codeready_builder
68+
dnf install -y git rpm-build rpmlint
6869
;;
6970
fedora*)
7071
dnf install -y git rpm-build rpmlint dnf-plugins-core

0 commit comments

Comments
 (0)