summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlexey D2017-09-24 13:00:07 +0300
committerAlexey D2017-09-24 13:21:56 +0300
commit910a2690f2dc78fba0120d310804ed0cd48d0dc0 (patch)
treeb5e8e1380d8b66f28de8872b51313110da61072b /PKGBUILD
parentf357eac5f2b6239bd9eb88b556c4b73e90ae39a7 (diff)
downloadaur-910a2690f2dc78fba0120d310804ed0cd48d0dc0.tar.gz
disable systemd-login check in configure script
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4c976e3abc7..1051d6ce116 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=udisks2-nosystemd
pkgver=2.7.2
-pkgrel=1
+pkgrel=2
pkgdesc="Disk Management Service, version 2"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/udisks"
@@ -23,9 +23,11 @@ conflicts=('udisks2' 'udisks2-eudev')
replaces=('udisks2' 'udisks2-eudev')
options=(!libtool)
source=(https://github.com/storaged-project/udisks/archive/udisks-$pkgver.tar.gz
- fix_build.patch)
+ fix_build.patch
+ disable_logind_support.patch)
sha256sums=('34d834520efcfbb8cca33ccf703e45752b32772ae766673dab6360202c7838aa'
- '9b9144de4d68703f574987d36dbe08c3b97d525adea65870f9b940f3315eefe7')
+ '9b9144de4d68703f574987d36dbe08c3b97d525adea65870f9b940f3315eefe7'
+ '202daeb2a924b0c0c2bfaef0f09a2b0d43bd9c46d1b61f42342162690cf62560')
prepare() {
cd "udisks-udisks-$pkgver"
@@ -36,6 +38,11 @@ prepare() {
# Fix build with gtk-doc 2.16. See https://github.com/storaged-project/udisks/issues/389
patch -p1 -i "$srcdir"/fix_build.patch
+
+ # It should fix an issue when udisks is asking to enter an user password on
+ # every (un)mount operation if installed together with systemd package and any
+ # initsystem which supports tmpfiles.d configs.
+ patch -p1 -i "$srcdir"/disable_logind_support.patch
}
build() {