From c0980af3c72f01e6f99fd1e7e91c446934d6d856 Mon Sep 17 00:00:00 2001 From: Boris Ranto Date: Fri, 30 Oct 2015 18:33:36 +0100 Subject: 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 --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/CMakeLists.txt') 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) -- cgit v1.2.3