summarylogtreecommitdiffstats
path: root/ceph.install
diff options
context:
space:
mode:
authorJamin W. Collins2017-02-09 13:23:03 -0800
committerJamin W. Collins2017-02-09 13:23:03 -0800
commit59bf934bb65c2a556afa0a9eb228708fc37a556d (patch)
tree95b23ecb9ab21195439a9e7c846453c74061936e /ceph.install
parent4f5067c2a3bc44b796b8837e96e7a31a75e39230 (diff)
downloadaur-59bf934bb65c2a556afa0a9eb228708fc37a556d.tar.gz
updating package build for current upstream
- explicitly listing upstream submodules as sources - adjust for upstream's apparent switch to cmake Signed-off-by: Jamin W. Collins <jcollins@asgardsrealm.net>
Diffstat (limited to 'ceph.install')
-rw-r--r--ceph.install17
1 files changed, 12 insertions, 5 deletions
diff --git a/ceph.install b/ceph.install
index 86ef79080ec0..c01ba8db56a6 100644
--- a/ceph.install
+++ b/ceph.install
@@ -1,9 +1,16 @@
+# vim: ft=sh ts=2 sw=2 et:
+
+# arg 1: the new package version
post_install() {
- mkdir /var/run/ceph
+ systemd-sysusers ceph.conf
+ systemd-tmpfiles --create ceph.conf
}
-pre_remove() {
- rmdir --ignore-fail-on-non-empty /var/run/ceph
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ if (( "$(vercmp $2 '10.2.2-1')" < 0 )); then
+ systemd-sysusers ceph.conf
+ systemd-tmpfiles --create ceph.conf
+ fi
}
-
-# vim:set ts=2 sw=2 et: