## Get some basic information about the system and the repository
RELEASE="$(lsb_release --short -r | cut -d '.' -f 1)" # sytem release
+# Make sure old rpms are not leftover on the system
+sudo yum remove -y librados2 librgw2 libcephfs2 librados-devel librgw-devel libcephfs-devel
+
# Get .repo file from appropriate shaman build
REPO_URL="https://shaman.ceph.com/api/repos/ceph/$CEPH_BRANCH/$CEPH_SHA1/$DISTRO/$RELEASE/flavors/default/repo"
TIME_LIMIT=1200
cd build
# generate .spec file, edit .spec file for correct versions of libs and make source tarball
-cmake -DCMAKE_BUILD_TYPE=Maintainer -DUSE_FSAL_GLUSTER=OFF -DUSE_FSAL_CEPH=ON -DUSE_FSAL_RGW=ON $WORKSPACE/nfs-ganesha/src && make dist || exit 1
+cmake -DCMAKE_BUILD_TYPE=Maintainer -DUSE_FSAL_GLUSTER=OFF -DUSE_FSAL_CEPH=ON -DUSE_FSAL_RGW=ON -DRADOS_URLS=ON -DUSE_RADOS_RECOV=ON $WORKSPACE/nfs-ganesha/src && make dist || exit 1
sed -i 's/libcephfs1-devel/libcephfs-devel/' $WORKSPACE/nfs-ganesha/src/nfs-ganesha.spec
sed -i 's/librgw2-devel/librgw-devel/' $WORKSPACE/nfs-ganesha/src/nfs-ganesha.spec
- string:
name: NTIRPC_BRANCH
description: "The git branch (or tag) to build"
- default: "next"
+ default: "v1.5"
- string:
name: NTIRPC_DEBIAN_BRANCH
- string:
name: CEPH_SHA1
description: "The SHA1 of the ceph branch"
- default: "f2337d1b42fa49dbb0a93e4048a42762e3dffbbf"
+ default: "cf0baeeeeba3b47f9427c6c97e2144b094b7e5ba"
- string:
name: CEPH_BRANCH