From: Ramana Raja Date: Fri, 24 Aug 2018 13:31:42 +0000 (+0530) Subject: nfs-ganesha: for shaman, build with LTTNG X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1109%2Fhead;p=ceph-build.git nfs-ganesha: for shaman, build with LTTNG ... and install required LTTNG libraries Signed-off-by: Ramana Raja --- diff --git a/nfs-ganesha/build/build_rpm b/nfs-ganesha/build/build_rpm index 1212fde78..76e0a819d 100644 --- a/nfs-ganesha/build/build_rpm +++ b/nfs-ganesha/build/build_rpm @@ -47,6 +47,8 @@ libwbclient-devel krb5-devel librgw-devel libcephfs-devel +lttng-ust-devel +lttng-tools-devel " # 1-17-17 will remove on next push of EPEL 7 stable, can remove in a couple days @@ -68,7 +70,7 @@ mkdir build cd build # generate .spec file, edit .spec file for correct versions of libs and make source tarball -cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSTRICT_PACKAGE=ON -DUSE_FSAL_ZFS=OFF -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 +cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSTRICT_PACKAGE=ON -DUSE_FSAL_ZFS=OFF -DUSE_FSAL_GLUSTER=OFF -DUSE_FSAL_CEPH=ON -DUSE_FSAL_RGW=ON -DRADOS_URLS=ON -DUSE_RADOS_RECOV=ON -DUSE_LTTNG=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