Skip to content

Commit 11a37da

Browse files
author
Alexander Indenbaum
committed
build dependencies: centos9
- ceph.spec.in: declare git as build dependency - install-deps.sh: enable CRB repo Test procedure: docker run --rm -ti -v /home/baum/ceph-ci:/home/ceph quay.io/centos/centos:stream9 bash [root@a3c4b1545e93 /]# cd /home/ceph/ [root@a3c4b1545e93 ceph]# ./install-deps.sh 2>&1 tee install-deps.log Signed-off-by: Alexander Indenbaum <[email protected]>
1 parent 1112689 commit 11a37da

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

ceph.spec.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ BuildRequires: selinux-policy-devel
213213
BuildRequires: gperf
214214
BuildRequires: cmake > 3.5
215215
BuildRequires: fuse-devel
216+
BuildRequires: git
216217
%if 0%{?fedora} || 0%{?suse_version} > 1500 || 0%{?rhel} == 9 || 0%{?openEuler}
217218
BuildRequires: gcc-c++ >= 11
218219
%endif

install-deps.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,8 @@ else
545545
$SUDO dnf config-manager --add-repo http://apt-mirror.front.sepia.ceph.com/lab-extras/8/
546546
$SUDO dnf config-manager --setopt=apt-mirror.front.sepia.ceph.com_lab-extras_8_.gpgcheck=0 --save
547547
$SUDO dnf -y module enable javapackages-tools
548+
elif test $ID = centos -a $MAJOR_VERSION = 9 ; then
549+
$SUDO dnf config-manager --set-enabled crb
548550
elif test $ID = rhel -a $MAJOR_VERSION = 8 ; then
549551
dts_ver=11
550552
$SUDO dnf config-manager --set-enabled "codeready-builder-for-rhel-8-${ARCH}-rpms"

0 commit comments

Comments
 (0)