mirror of
https://github.com/ceph/ceph
synced 2025-02-19 08:57:27 +00:00
Merge pull request #8406 from dmick/jewel
debian/rules: put init-ceph in /etc/init.d/ceph, not ceph-base Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
dbdbacfc13
7
debian/rules
vendored
7
debian/rules
vendored
@ -51,7 +51,7 @@ build-stamp: configure-stamp
|
||||
|
||||
$(MAKE)
|
||||
|
||||
cp src/init-ceph debian/ceph-base.init
|
||||
cp src/init-ceph debian/ceph-base.ceph.init
|
||||
cp src/init-radosgw debian/radosgw.init
|
||||
cp src/logrotate.conf debian/ceph.logrotate
|
||||
|
||||
@ -67,7 +67,7 @@ clean:
|
||||
ltmain.sh missing
|
||||
rm -f configure Makefile.in man/Makefile.in src/Makefile.in
|
||||
rm -f src/acconfig.h.in
|
||||
rm -f debian/ceph-base.init debian/radosgw.init debian/ceph.logrotate debian/radosgw.logrotate
|
||||
rm -f debian/ceph-base.ceph.init debian/radosgw.init debian/ceph.logrotate debian/radosgw.logrotate
|
||||
|
||||
dh_clean
|
||||
|
||||
@ -117,7 +117,8 @@ binary-arch: build install
|
||||
dh_install -a --sourcedir=$(DESTDIR) --list-missing
|
||||
install -d -m0755 debian/ceph-base/etc/logrotate.d
|
||||
install -m0644 debian/ceph.logrotate debian/ceph-base/etc/logrotate.d
|
||||
dh_installinit -a --no-start
|
||||
dh_installinit -p ceph-base --name ceph --no-start
|
||||
dh_installinit -p radosgw --no-start
|
||||
# dh_installinit is only set up to handle one upstart script
|
||||
# per package, so do this ourselves
|
||||
install -d -m0755 debian/ceph-base/etc/init
|
||||
|
Loading…
Reference in New Issue
Block a user