aboutsummaryrefslogtreecommitdiffstats
path: root/community/ceph/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ceph/APKBUILD')
-rw-r--r--community/ceph/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/community/ceph/APKBUILD b/community/ceph/APKBUILD
index 08fcbc9bfc..794b794c49 100644
--- a/community/ceph/APKBUILD
+++ b/community/ceph/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: John Coyle <dx9err@gmail.com>
pkgname=ceph
pkgver=14.2.1
-pkgrel=0
+pkgrel=1
pkgdesc="Ceph is a distributed object store and file system"
pkgusers="ceph"
pkggroups="ceph"
@@ -122,6 +122,7 @@ _libexecdir=$_prefix/libexec
_localstatedir=/var
_mandir=$_datadir/man
_sbindir=/usr/sbin
+_syssbindir=/sbin
_sysconfdir=/etc
_udevrulesdir=/etc/udev/rules.d
@@ -171,6 +172,10 @@ package() {
rm -f "$pkgdir"$_sysconfdir/init.d/ceph
+ # Move mount.* binaries to /sbin
+ mkdir -p "$pkgdir"$_syssbindir
+ mv "$pkgdir"$_sbindir/mount.* "$pkgdir"$_syssbindir
+
install -m 0644 -D src/etc-rbdmap "$pkgdir"$_sysconfdir/ceph/rbdmap
install -m 0644 -D src/logrotate.conf "$pkgdir"$_sysconfdir/logrotate.d/ceph
install -m 0644 -D etc/sysctl/90-ceph-osd.conf "$pkgdir"/$_sysconfdir/sysctl.d/90-ceph-osd.conf
@@ -241,7 +246,7 @@ common() {
rbd-replay-many \
rbdmap \
ceph-post-file
- _pkg $_sbindir mount.ceph
+ _pkg $_syssbindir mount.ceph
_pkg $_datadir/ceph known_hosts_drop.ceph.com \
id_rsa_drop.ceph.com \
id_rsa_drop.ceph.com.pub
@@ -279,7 +284,7 @@ ceph_fuse() {
pkgdesc="FUSE based client for Ceph distributed network file system."
depends=
_pkg $_bindir ceph-fuse
- _pkg $_sbindir mount.fuse.ceph
+ _pkg $_syssbindir mount.fuse.ceph
}
rbd_fuse() {