Revert "Use dh_installinit to install upstart job files"

This reverts commit 251a6a498d.

This includes /etc/init.d/radosgw in the ceph package, which makes it
conflict with radosgw.
This commit is contained in:
Sage Weil 2013-07-30 13:31:35 -07:00
parent 3f5352ac67
commit e747fa8e32
15 changed files with 9 additions and 33 deletions

View File

@ -1 +0,0 @@
../src/upstart/ceph-mds-all-starter.conf

View File

@ -1 +0,0 @@
../src/upstart/ceph-mds-all.conf

View File

@ -1 +0,0 @@
../src/upstart/ceph-mds.conf

View File

@ -1 +0,0 @@
../src/upstart/ceph-all.conf

View File

@ -1 +0,0 @@
../src/upstart/ceph-create-keys.conf

View File

@ -1 +0,0 @@
../src/upstart/ceph-mon-all-starter.conf

View File

@ -1 +0,0 @@
../src/upstart/ceph-mon-all.conf

View File

@ -1 +0,0 @@
../src/upstart/ceph-mon.conf

View File

@ -1 +0,0 @@
../src/upstart/ceph-osd-all-starter.conf

View File

@ -1 +0,0 @@
../src/upstart/ceph-osd-all.conf

View File

@ -1 +0,0 @@
../src/upstart/ceph-osd.conf

View File

@ -1 +0,0 @@
../src/upstart/radosgw-all-starter.conf

View File

@ -1 +0,0 @@
../src/upstart/radosgw-all.conf

View File

@ -1 +0,0 @@
../src/upstart/radosgw.conf

28
debian/rules vendored
View File

@ -114,25 +114,15 @@ binary-arch: build install
dh_installexamples -a
dh_install -a --sourcedir=$(DESTDIR) --list-missing
dh_installlogrotate -a
#upstart job files for binary package ceph
dh_installinit --no-start --name=ceph-all
dh_installinit --no-start --name=ceph-create-keys
dh_installinit --no-start --name=ceph-mon-all-starter
dh_installinit --no-start --name=ceph-mon-all
dh_installinit --no-start --name=ceph-mon
dh_installinit --no-start --name=ceph-osd-all-starter
dh_installinit --no-start --name=ceph-osd-all
dh_installinit --no-start --name=ceph-osd
#upstart job files for binary package ceph-mds
dh_installinit --no-start --name=ceph-mds-all
dh_installinit --no-start --name=ceph-mds-all-starter
dh_installinit --no-start --name=ceph-mds
#upstart job files for binary package radowgw
dh_installinit --no-start --name=radosgw-all-starter
dh_installinit --no-start --name=radosgw-all
dh_installinit --no-start --name=radosgw
#all other initscripts
dh_installinit --no-start
dh_installinit -a --no-start
# dh_installinit is only set up to handle one upstart script
# per package, so do this ourselves
install -d -m0755 debian/ceph/etc/init
install -m0644 src/upstart/ceph*.conf debian/ceph/etc/init
install -d -m0755 debian/ceph-mds/etc/init
mv debian/ceph/etc/init/ceph-mds* debian/ceph-mds/etc/init
install -d -m0755 debian/radosgw/etc/init
install -m0644 src/upstart/radosgw*.conf debian/radosgw/etc/init
dh_installman -a
dh_lintian -a
dh_link -a