From 76578b9cc4ba81e8895f043d25fd4735ab679e74 Mon Sep 17 00:00:00 2001 From: Ramana Raja Date: Fri, 24 Aug 2018 19:01:42 +0530 Subject: [PATCH] nfs-ganesha: for shaman, build with LTTNG ... and install required LTTNG libraries Signed-off-by: Ramana Raja --- nfs-ganesha/build/build_rpm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nfs-ganesha/build/build_rpm b/nfs-ganesha/build/build_rpm index 1212fde7..76e0a819 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 -- 2.39.5