mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
librbd: add packages for librbd
This commit is contained in:
parent
78fe39346a
commit
f18c721393
37
debian/control
vendored
37
debian/control
vendored
@ -12,7 +12,7 @@ Standards-Version: 3.9.1
|
||||
Package: ceph
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libedit2, hdparm, binutils
|
||||
Recommends: ceph-client-tools, ceph-fuse, libceph1, librados1, libcrush1, btrfs-tools
|
||||
Recommends: ceph-client-tools, ceph-fuse, libceph1, librados1, librbd1, libcrush1, btrfs-tools
|
||||
Description: distributed storage and file system
|
||||
Ceph is a distributed storage and network file system designed to provide
|
||||
excellent performance, reliability, and scalability.
|
||||
@ -171,6 +171,41 @@ Description: RADOS distributed object store client library (development files)
|
||||
This package contains development files needed for building applications that
|
||||
link against librados.
|
||||
|
||||
Package: librbd1
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, librados1
|
||||
Description: RADOS block device client library
|
||||
RBD is a block device striped across multiple distributed objects
|
||||
in RADOS, a reliable, autonomic distributed object storage cluster
|
||||
developed as part of the Ceph distributed storage system. This is a
|
||||
shared library allowing applications to manage these block devices.
|
||||
|
||||
Package: librbd1-dbg
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Priority: extra
|
||||
Depends: librbd1 (= ${binary:Version}), ${misc:Depends}
|
||||
Description: debugging symbols for librbd1
|
||||
RBD is a block device striped across multiple distributed objects
|
||||
in RADOS, a reliable, autonomic distributed object storage cluster
|
||||
developed as part of the Ceph distributed storage system. This is a
|
||||
shared library allowing applications to manage these block devices.
|
||||
.
|
||||
This package contains debugging symbols for librbd1.
|
||||
|
||||
Package: librbd1-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, librbd1 (= ${binary:Version})
|
||||
Description: RADOS block device client library (development files)
|
||||
RBD is a block device striped across multiple distributed objects
|
||||
in RADOS, a reliable, autonomic distributed object storage cluster
|
||||
developed as part of the Ceph distributed storage system. This is a
|
||||
shared library allowing applications to manage these block devices.
|
||||
.
|
||||
This package contains development files needed for building applications that
|
||||
link against librbd1.
|
||||
|
||||
Package: libceph1
|
||||
Conflicts: libceph
|
||||
Replaces: libceph
|
||||
|
3
debian/librbd1-dev.install
vendored
Normal file
3
debian/librbd1-dev.install
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
usr/lib/librbd.so
|
||||
usr/lib/librbd.a
|
||||
usr/lib/librbd.la
|
1
debian/librbd1.install
vendored
Normal file
1
debian/librbd1.install
vendored
Normal file
@ -0,0 +1 @@
|
||||
usr/lib/librbd.so.*
|
41
debian/librbd1.postinst
vendored
Normal file
41
debian/librbd1.postinst
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <postinst> `configure' <most-recently-configured-version>
|
||||
# * <old-postinst> `abort-upgrade' <new version>
|
||||
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
|
||||
# <new-version>
|
||||
# * <postinst> `abort-remove'
|
||||
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
|
||||
# <failed-install-package> <version> `removing'
|
||||
# <conflicting-package> <version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
ldconfig
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
||||
|
43
debian/librbd1.postrm
vendored
Normal file
43
debian/librbd1.postrm
vendored
Normal file
@ -0,0 +1,43 @@
|
||||
#!/bin/sh
|
||||
# postrm script for ceph
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <postrm> `remove'
|
||||
# * <postrm> `purge'
|
||||
# * <old-postrm> `upgrade' <new-version>
|
||||
# * <new-postrm> `failed-upgrade' <old-version>
|
||||
# * <new-postrm> `abort-install'
|
||||
# * <new-postrm> `abort-install' <old-version>
|
||||
# * <new-postrm> `abort-upgrade' <old-version>
|
||||
# * <disappearer's-postrm> `disappear' <overwriter>
|
||||
# <overwriter-version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
|
||||
case "$1" in
|
||||
remove)
|
||||
ldconfig
|
||||
;;
|
||||
|
||||
purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postrm called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
||||
|
1
debian/rules
vendored
1
debian/rules
vendored
@ -66,6 +66,7 @@ binary-arch: build install
|
||||
dh_strip -pceph-client-tools --dbg-package=ceph-client-tools-dbg
|
||||
dh_strip -plibcrush1 --dbg-package=libcrush1-dbg
|
||||
dh_strip -plibrados1 --dbg-package=librados1-dbg
|
||||
dh_strip -plibrbd1 --dbg-package=librbd1-dbg
|
||||
dh_strip -plibceph1 --dbg-package=libceph1-dbg
|
||||
dh_strip -pradosgw --dbg-package=radosgw-dbg
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user