]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbdmap: Move do_map and do_unmap shell functions to rbdmap script
authorBoris Ranto <branto@redhat.com>
Fri, 30 Oct 2015 17:33:36 +0000 (18:33 +0100)
committerNathan Cutler <ncutler@suse.com>
Tue, 1 Dec 2015 14:47:56 +0000 (15:47 +0100)
commit4eded389eea931fd9cdb0b9700c022088e8825ec
tree47f9fb10f0574dde8e4b37cef5953ef2419450f8
parentaf86215e0b178340055ff6ec7c8ec3b3c0bd1acf
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>
(cherry picked from commit c0980af3c72f01e6f99fd1e7e91c446934d6d856)

Conflicts:
src/init-rbdmap
            Trivial resolution.
ceph.spec.in
debian/ceph-common.install
debian/rules
src/CMakeLists.txt
src/Makefile-client.am
src/Makefile.am
src/etc-rbdmap [new file with mode: 0644]
src/init-rbdmap
src/rbdmap [changed mode: 0644->0755]