Skip to content

Commit

Permalink
Merge pull request ceph#1581 from ceph/wip-init
Browse files Browse the repository at this point in the history
a few deb changes
  • Loading branch information
Sage Weil committed Apr 3, 2014
2 parents 60d1975 + 7909262 commit 9f41975
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 10 deletions.
2 changes: 2 additions & 0 deletions debian/ceph-common.dirs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
etc/ceph
var/log/ceph
4 changes: 2 additions & 2 deletions debian/ceph-common.install
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ usr/bin/ceph
usr/bin/ceph-authtool
usr/bin/ceph-conf
usr/bin/ceph-dencoder
usr/bin/ceph-rest-api
usr/bin/ceph-syn
usr/bin/ceph-crush-location
usr/bin/rados
Expand All @@ -14,7 +13,6 @@ usr/bin/ceph-brag
usr/share/man/man8/ceph-authtool.8
usr/share/man/man8/ceph-conf.8
usr/share/man/man8/ceph-dencoder.8
usr/share/man/man8/ceph-rest-api.8
usr/share/man/man8/ceph-syn.8
usr/share/man/man8/ceph-post-file.8
usr/share/man/man8/ceph.8
Expand All @@ -23,3 +21,5 @@ usr/share/man/man8/rbd.8
usr/share/ceph/known_hosts_drop.ceph.com
usr/share/ceph/id_dsa_drop.ceph.com
usr/share/ceph/id_dsa_drop.ceph.com.pub
etc/ceph/rbdmap
etc/init.d/rbdmap
2 changes: 1 addition & 1 deletion debian/ceph.postrm → debian/ceph-common.postrm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# postrm script for ceph
# postrm script for ceph-common
#
# see: dh_installdeb(1)

Expand Down
2 changes: 0 additions & 2 deletions debian/ceph.dirs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
etc/ceph
var/log/ceph
var/lib/ceph/tmp
var/lib/ceph/mon
var/lib/ceph/osd
Expand Down
4 changes: 2 additions & 2 deletions debian/ceph.install
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ usr/bin/ceph-debugpack
usr/bin/ceph-mon
usr/bin/ceph-osd
usr/bin/ceph-run
usr/bin/ceph-rest-api
usr/bin/ceph_mon_store_converter
usr/bin/crushtool
usr/bin/monmaptool
Expand All @@ -25,9 +26,8 @@ usr/share/man/man8/ceph-debugpack.8
usr/share/man/man8/ceph-mon.8
usr/share/man/man8/ceph-osd.8
usr/share/man/man8/ceph-run.8
usr/share/man/man8/ceph-rest-api.8
usr/share/man/man8/crushtool.8
usr/share/man/man8/mkcephfs.8
usr/share/man/man8/monmaptool.8
usr/share/man/man8/osdmaptool.8
etc/ceph/rbdmap
etc/init.d/rbdmap
6 changes: 4 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Standards-Version: 3.9.3
Package: ceph
Architecture: linux-any
Depends: binutils,
ceph-common (>= 0.67),
ceph-common (>= 0.78-500),
cryptsetup-bin | cryptsetup,
gdisk,
parted,
Expand All @@ -58,6 +58,7 @@ Depends: binutils,
${misc:Depends},
${shlibs:Depends}
Recommends: btrfs-tools, ceph-mds, librados2, librbd1
Replaces: ceph-common (<< 0.78-500)
X-Python-Version: >= 2.6
Description: distributed storage and file system
Ceph is a distributed storage system designed to provide excellent
Expand Down Expand Up @@ -160,7 +161,8 @@ Architecture: linux-any
Depends: librbd1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends},
python-ceph (= ${binary:Version}), python-requests
Conflicts: ceph-client-tools
Replaces: ceph-client-tools
Replaces: ceph-client-tools, ceph (<< 0.78-500)
Breaks: ceph (<< 0.78-500)
Suggests: ceph, ceph-mds
Description: common utilities to mount and interact with a ceph storage cluster
Ceph is a distributed storage and file system designed to provide
Expand Down
3 changes: 2 additions & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ binary-arch: build install
# per package, so do this ourselves
install -d -m0755 debian/ceph/etc/init
install -m0644 src/upstart/ceph*.conf debian/ceph/etc/init
install -m0644 src/upstart/rbdmap.conf debian/ceph/etc/init
install -d -m0755 debian/ceph-common/etc/init
install -m0644 src/upstart/rbdmap.conf debian/ceph-common/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
Expand Down

0 comments on commit 9f41975

Please sign in to comment.