debian: package ceph.logroate properly

see also "man dh_installlogrotate"

Fixes: http://tracker.ceph.com/issues/19390
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2017-04-18 14:07:04 +08:00
parent 4314e3d1c5
commit 17ca501fe8

4
debian/rules vendored
View File

@ -32,7 +32,6 @@ override_dh_auto_configure:
override_dh_auto_build:
dh_auto_build --buildsystem=cmake
cp src/init-radosgw debian/radosgw.init
cp src/logrotate.conf debian/ceph.logrotate
override_dh_auto_clean:
dh_auto_clean --buildsystem=cmake
@ -53,7 +52,8 @@ override_dh_installdocs:
dh_installdocs -a --all ChangeLog
override_dh_installlogrotate:
dh_installlogrotate -pceph-base --name ceph
cp src/logrotate.conf debian/ceph-base.ceph.logrotate
dh_installlogrotate -pceph-base --name=ceph
override_dh_installinit:
# dh_installinit is only set up to handle one upstart script