summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorBoris Ranto <branto@redhat.com>2015-10-30 18:33:36 +0100
committerBoris Ranto <branto@redhat.com>2015-11-05 21:04:50 +0100
commitc0980af3c72f01e6f99fd1e7e91c446934d6d856 (patch)
tree081d6e61a5f8f44f55da8612714a05a508ea6fdb /src/CMakeLists.txt
parentMerge pull request #5856 from runsisi/wip-misc-remove-dup-test (diff)
downloadceph-c0980af3c72f01e6f99fd1e7e91c446934d6d856.tar.xz
ceph-c0980af3c72f01e6f99fd1e7e91c446934d6d856.zip
rbdmap: Move do_map and do_unmap shell functions to rbdmap script
This patch creates rbdmap shell script that is called from init-rbdmap init script. The patch also renames src/rbdmap configuration file to src/etc-rbdmap so that rbdmap shell script can be installed via build system directly. Finally, the patch accomodates these changes in spec file and build system. Fixes: #13374 Signed-off-by: Boris Ranto <branto@redhat.com>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 28a02edaf91..05ff6af01a1 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -884,6 +884,7 @@ if(${WITH_RBD})
${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
install(TARGETS rbd DESTINATION bin)
install(PROGRAMS ${CMAKE_SOURCE_DIR}/src/ceph-rbdnamer DESTINATION bin)
+ install(PROGRAMS ${CMAKE_SOURCE_DIR}/src/rbdmap DESTINATION bin)
set(librbd_replay_types_srcs
rbd_replay/ActionTypes.cc)