summaryrefslogtreecommitdiff
path: root/testing/systemd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-16 23:15:11 +0000
committerroot <root@rshg054.dnsready.net>2012-01-16 23:15:11 +0000
commit08a16f35d70b750b4db213a4bfcbacf5b3be4d74 (patch)
tree90c7b6f80849c63a69d3c46d0f04fe23ebf0c099 /testing/systemd
parent0b31296d95d2e0f18abf69f30d0946e3a1f35672 (diff)
Mon Jan 16 23:15:10 UTC 2012
Diffstat (limited to 'testing/systemd')
-rw-r--r--testing/systemd/PKGBUILD7
-rw-r--r--testing/systemd/systemd.install16
2 files changed, 12 insertions, 11 deletions
diff --git a/testing/systemd/PKGBUILD b/testing/systemd/PKGBUILD
index 1dea4b12a..f1cfcbd5f 100644
--- a/testing/systemd/PKGBUILD
+++ b/testing/systemd/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 146631 2012-01-14 21:33:48Z dreisner $
+# $Id: PKGBUILD 146660 2012-01-15 17:04:30Z dreisner $
# Maintainer: Dave Reisner <dreisner@archlinux.org>
pkgname=systemd
pkgver=38
-pkgrel=2
+pkgrel=3
pkgdesc="Session and Startup manager"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/systemd"
@@ -51,7 +51,8 @@ build() {
--libexecdir=/usr/lib \
--libdir=/usr/lib \
--localstatedir=/var \
- --with-rootprefix=
+ --with-rootprefix= \
+ --with-rootlibdir=/lib
make
diff --git a/testing/systemd/systemd.install b/testing/systemd/systemd.install
index 04b29688a..4850c879e 100644
--- a/testing/systemd/systemd.install
+++ b/testing/systemd/systemd.install
@@ -1,8 +1,8 @@
#!/bin/sh
checkgroups() {
- if ! usr/bin/getent group lock >/dev/null; then
- usr/sbin/groupadd -g 54 lock
+ if ! getent group lock >/dev/null; then
+ sbin/groupadd -g 54 lock
fi
}
@@ -14,7 +14,7 @@ post_install() {
checkgroups
if [ ! -f etc/machine-id ]; then
- bin/systemd-machine-id-setup
+ systemd-machine-id-setup
fi
echo "systemd has been installed to /bin/systemd. Please ensure you append"
@@ -25,11 +25,11 @@ post_upgrade() {
checkgroups
if [ ! -f etc/machine-id ]; then
- bin/systemd-machine-id-setup
+ systemd-machine-id-setup
fi
if sd_booted; then
- bin/systemctl daemon-reexec >/dev/null
+ systemctl daemon-reexec >/dev/null
fi
newpkgver=${1%-*}
@@ -39,14 +39,14 @@ post_upgrade() {
if [ "$newpkgver" -ge 31 ] && [ "$oldpkgver" -lt 31 ]; then
# but only if systemd is running
if sd_booted; then
- bin/systemctl try-restart systemd-logind.service
+ systemctl try-restart systemd-logind.service
fi
fi
}
post_remove() {
- if usr/bin/getent group lock >/dev/null; then
- usr/sbin/groupdel lock
+ if getent group lock >/dev/null; then
+ groupdel lock
fi
}