Skip to content

Commit 3cb0412

Browse files
authored
Merge pull request ceph#55330 from baum/centos9-install-build-deps
🧹build dependencies: centos9
2 parents 5785652 + 11a37da commit 3cb0412

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)