]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: install mount.ceph into /sbin
authorKefu Chai <kchai@redhat.com>
Thu, 26 May 2016 08:28:56 +0000 (16:28 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 27 May 2016 11:55:04 +0000 (19:55 +0800)
should use absolute path otherwise it is installed into /usr/sbin, and
dh_install won't find it this way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/CMakeLists.txt

index dfa3500c48dfd42861781dd93e174e004a91f6e6..a3b415913cb7a16249b7d54e0b0a0c2555da98df 100644 (file)
@@ -1101,7 +1101,7 @@ endif(${ENABLE_SHARED})
   target_link_libraries(mount.ceph keyutils)
 
   install(TARGETS ceph-syn DESTINATION bin)
-  install(TARGETS mount.ceph DESTINATION sbin)
+  install(TARGETS mount.ceph DESTINATION /sbin)
 
   if(HAVE_LIBFUSE)
     set(ceph_fuse_srcs