aboutsummaryrefslogtreecommitdiffstats
path: root/community/ceph/APKBUILD
diff options
context:
space:
mode:
authorMatthias Neugebauer <mtneug@mailbox.org>2019-08-14 14:09:09 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-08-15 19:47:01 +0000
commit1311cc032a8879b2b216e088419ee00141743535 (patch)
tree6e538ab71f5d95337b76e6242065436d61b50019 /community/ceph/APKBUILD
parent7c1a2a956c9f67be659d6d14de47bb5af19ab7f9 (diff)
downloadaports-1311cc032a8879b2b216e088419ee00141743535.tar.bz2
aports-1311cc032a8879b2b216e088419ee00141743535.tar.xz
community/ceph: Fix wrong mount helper location
Closes !24
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() {