aboutsummaryrefslogtreecommitdiffstats
path: root/community/ceph/APKBUILD
diff options
context:
space:
mode:
authorIggy Jackson <iggy@theiggy.com>2019-05-16 18:57:17 -0700
committerNatanael Copa <ncopa@alpinelinux.org>2019-09-11 06:58:58 +0000
commit30eecb35b1cd4b9c27625f39bc956bc96e46f4ab (patch)
tree3e27508c73fbe5281fef5f52192de7b305eeb2af /community/ceph/APKBUILD
parent7ea3d28dbdb191729bdbbff5ee0025cd78b98288 (diff)
downloadaports-30eecb35b1cd4b9c27625f39bc956bc96e46f4ab.tar.bz2
aports-30eecb35b1cd4b9c27625f39bc956bc96e46f4ab.tar.xz
community/ceph: ceph-mgr doesn't need node_modules
Remove some build time stuff before we create the package so we don't end up with a massive apk.
Diffstat (limited to 'community/ceph/APKBUILD')
-rw-r--r--community/ceph/APKBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/community/ceph/APKBUILD b/community/ceph/APKBUILD
index 877cde7abc..5bbc61ef4c 100644
--- a/community/ceph/APKBUILD
+++ b/community/ceph/APKBUILD
@@ -190,6 +190,9 @@ package() {
mkdir -p "$pkgdir"$_syssbindir
mv "$pkgdir"$_sbindir/mount.* "$pkgdir"$_syssbindir
+ # We need to clean this out before packaging as it's freaking huge
+ rm -rf "$pkgdir"$_datadir/ceph/mgr/dashboard/frontend/node_modules
+
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