summaryrefslogtreecommitdiff
path: root/testing/systemd/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-27 23:15:06 +0000
committerroot <root@rshg054.dnsready.net>2012-01-27 23:15:06 +0000
commit2493f16093b14a81e949bd6a1b89724cb931807d (patch)
treeb93ed56dddfb9e067d0e29e363bc8e98286b9ac8 /testing/systemd/PKGBUILD
parent3741146d50cb93e8985f8aac937e36d35ee76446 (diff)
Fri Jan 27 23:15:06 UTC 2012
Diffstat (limited to 'testing/systemd/PKGBUILD')
-rw-r--r--testing/systemd/PKGBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/testing/systemd/PKGBUILD b/testing/systemd/PKGBUILD
index 4e1d95a74..a1f555c57 100644
--- a/testing/systemd/PKGBUILD
+++ b/testing/systemd/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 147240 2012-01-25 01:22:21Z dreisner $
+# $Id: PKGBUILD 147677 2012-01-26 13:47:39Z dreisner $
# Maintainer: Dave Reisner <dreisner@archlinux.org>
pkgname=systemd
pkgver=39
-pkgrel=1
+pkgrel=2
pkgdesc="Session and Startup manager"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/systemd"
@@ -27,9 +27,11 @@ backup=(etc/dbus-1/system.d/org.freedesktop.systemd1.conf
etc/systemd/systemd-logind.conf)
install=systemd.install
source=("http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"
- "os-release")
+ "os-release"
+ "0001-mount-fix-automount-regression.patch")
md5sums=('7179b34f6f6553d2a36551ac1dec5f0d'
- '752636def0db3c03f121f8b4f44a63cd')
+ '752636def0db3c03f121f8b4f44a63cd'
+ '6e42637c1b1d4589909329dab777631b')
build() {
cd "$pkgname-$pkgver"
@@ -39,6 +41,9 @@ build() {
sed -i -e '/^Environ.*LANG/s/^/#/' \
-e '/^ExecStart/s/agetty/& -8/' units/getty@.service.m4
+ # fix default dependencies for automounts in /etc/fstab
+ patch -Np1 < "$srcdir/0001-mount-fix-automount-regression.patch"
+
./configure --sysconfdir=/etc \
--libexecdir=/usr/lib \
--libdir=/usr/lib \
@@ -58,6 +63,9 @@ package() {
make DESTDIR="$pkgdir" install
+ # needed by systemd-loginctl for enable-linger
+ install -dm755 "$pkgdir/var/lib/systemd"
+
install -Dm644 "$srcdir/os-release" "$pkgdir/etc/os-release"
printf "d /run/console 755 root root\n" > "$pkgdir/usr/lib/tmpfiles.d/console.conf"