summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2017-05-22 14:58:37 -0600
committerBrian Bidulock2017-05-22 14:58:37 -0600
commit78f87e87421c454947bd5b0afaa76d4d36a1776e (patch)
treedfa13cc1019733462f69a41c4772a4c274210bc4
parent8d2b220b162204c1be908e19b55c4ccdf2030f74 (diff)
downloadaur-78f87e87421c454947bd5b0afaa76d4d36a1776e.tar.gz
do not delete cluster data
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
-rw-r--r--pacemaker.install2
3 files changed, 6 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c44d9bb22e7..5bd2841fa05 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = pacemaker-git
pkgdesc = advanced, scalable high-availability cluster resource manager
- pkgver = 1.1.17.rc1.r20.g49eb595ab
- pkgrel = 3
+ pkgver = 1.1.17.rc1.r21.gff4265262
+ pkgrel = 1
url = https://github.com/ClusterLabs/pacemaker/
install = pacemaker.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index ba926e3927a..70aa6c5ad52 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@
pkgname=pacemaker-git
_pkgname=pacemaker
-pkgver=1.1.17.rc1.r20.g49eb595ab
-pkgrel=3
+pkgver=1.1.17.rc1.r21.gff4265262
+pkgrel=1
pkgdesc="advanced, scalable high-availability cluster resource manager"
arch=('i686' 'x86_64')
url="https://github.com/ClusterLabs/${_pkgname}/"
@@ -69,10 +69,9 @@ package() {
cd $pkgname
make DESTDIR="${pkgdir}" install
cd "$srcdir"
- install -dm755 "$pkgdir"/usr/lib/{tmpfiles.d,sysusers.d}
install -Dm644 /dev/null "$pkgdir/usr/lib/tmpfiles.d/$_pkgname.conf"
cat>"$pkgdir/usr/lib/tmpfiles.d/$_pkgname.conf"<<-EOF
- D /var/lib/pacemaker 0770 hacluster haclient
+ d /var/lib/pacemaker 0770 hacluster haclient
d /var/lib/pacemaker/blackbox 0770 hacluster haclient
d /var/lib/pacemaker/cib 0770 hacluster haclient
d /var/lib/pacemaker/cores 0770 hacluster haclient
diff --git a/pacemaker.install b/pacemaker.install
index ce537fb2fa1..adf039e5698 100644
--- a/pacemaker.install
+++ b/pacemaker.install
@@ -9,6 +9,6 @@ post_upgrade(){ :
post_remove(){ :
usr/bin/getent group haclient >/dev/null && usr/bin/groupdel -f haclient
usr/bin/getent passwd hacluster >/dev/null && usr/bin/userdel hacluster
- usr/bin/rm -fr var/lib/pacemaker
+# usr/bin/rm -fr var/lib/pacemaker
}