Skip to content

Commit 2eefd85

Browse files
committed
build: Fix rpmlint installation order for Alma Linux 10
The rpmlint package requires dependencies from the CRB (CodeReady Builder) repository on Alma 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 d9db4ae commit 2eefd85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hack/scripts/rpm-init.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,10 @@ case "$pkgrelease" in
7474
dnf config-manager --set-enabled powertools
7575
;;
7676
rockylinux*|almalinux*)
77-
dnf install -y git rpm-build rpmlint dnf-plugins-core epel-release
77+
dnf install -y dnf-plugins-core epel-release
7878
dnf config-manager --set-enabled crb
79+
# crb repo is needed for rpmlint
80+
dnf install -y git rpm-build rpmlint
7981
;;
8082
rhel*)
8183
# skipping rpmlint as it requires dependencies not available in ubi images

0 commit comments

Comments
 (0)