# udev rules
install -m 0644 -D udev/50-rbd.rules %{buildroot}%{_udevrulesdir}/50-rbd.rules
install -m 0644 -D udev/95-ceph-osd.rules %{buildroot}%{_udevrulesdir}/95-ceph-osd.rules
-mv %{buildroot}/sbin/mount.ceph %{buildroot}/usr/sbin/mount.ceph
-mv %{buildroot}/sbin/mount.fuse.ceph %{buildroot}/usr/sbin/mount.fuse.ceph
#set up placeholder directories
mkdir -p %{buildroot}%{_sysconfdir}/ceph
-sbin/mount.ceph
+usr/sbin/mount.ceph sbin
usr/bin/cephfs
usr/share/man/man8/cephfs.8
usr/share/man/man8/mount.ceph.8
-sbin/mount.fuse.ceph
+usr/sbin/mount.fuse.ceph sbin
usr/bin/ceph-fuse
usr/share/man/man8/ceph-fuse.8
target_link_libraries(mount.ceph keyutils)
install(TARGETS ceph-syn DESTINATION bin)
- install(TARGETS mount.ceph DESTINATION /sbin)
+ install(TARGETS mount.ceph DESTINATION ${CMAKE_INSTALL_SBINDIR})
if(HAVE_LIBFUSE)
set(ceph_fuse_srcs
target_link_libraries(ceph-fuse ${FUSE_LIBRARIES} client global)
set_target_properties(ceph-fuse PROPERTIES COMPILE_FLAGS "-I${FUSE_INCLUDE_DIRS}")
install(TARGETS ceph-fuse DESTINATION bin)
- install(PROGRAMS mount.fuse.ceph DESTINATION /sbin)
+ install(PROGRAMS mount.fuse.ceph DESTINATION ${CMAKE_INSTALL_SBINDIR})
endif(HAVE_LIBFUSE)
endif(WITH_LIBCEPHFS)
mount_ceph_SOURCES = mount/mount.ceph.c
mount_ceph_LDADD = $(LIBSECRET) $(LIBCOMMON)
if LINUX
-su_sbin_PROGRAMS += mount.ceph
+sbin_PROGRAMS += mount.ceph
endif # LINUX
-su_sbin_SCRIPTS += mount.fuse.ceph
+sbin_SCRIPTS += mount.fuse.ceph
if WITH_MON