summaryrefslogtreecommitdiff
path: root/core/systemd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-20 01:22:20 -0700
committerroot <root@rshg054.dnsready.net>2012-10-20 01:22:20 -0700
commit9598f5141ea75ffa72a3c7c85639c6f296020ef1 (patch)
tree36488f90eaa723f707c26f79ba771bb2910e8368 /core/systemd
parentdcc55a1cfa32068d0759c1c8307f6c07c11aec99 (diff)
Sat Oct 20 01:22:19 PDT 2012
Diffstat (limited to 'core/systemd')
-rw-r--r--core/systemd/PKGBUILD6
-rw-r--r--core/systemd/systemd.install5
2 files changed, 10 insertions, 1 deletions
diff --git a/core/systemd/PKGBUILD b/core/systemd/PKGBUILD
index f6660eec5..073d99b15 100644
--- a/core/systemd/PKGBUILD
+++ b/core/systemd/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase=systemd
pkgname=('systemd' 'systemd-sysvcompat')
pkgver=194
-pkgrel=3
+pkgrel=4
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/systemd"
license=('GPL2' 'LGPL2.1' 'MIT')
@@ -61,6 +61,7 @@ package_systemd() {
replaces=('libsystemd' 'systemd-tools' 'udev')
conflicts=('libsystemd' 'systemd-tools' 'udev')
optdepends=('initscripts: legacy support for /etc/rc.conf'
+ 'python: systemd library bindings'
'python2-cairo: systemd-analyze'
'python2-dbus: systemd-analyze'
'systemd-sysvcompat: symlink package to provide sysvinit binaries'
@@ -131,6 +132,9 @@ package_systemd() {
install -dm755 "$srcdir"/_sysvcompat/usr/share/man/man8/
mv "$pkgdir"/usr/share/man/man8/{telinit,halt,reboot,poweroff,runlevel,shutdown}.8 \
"$srcdir"/_sysvcompat/usr/share/man/man8
+
+ # create /var/log/journal. users can control the actual log destination via journald.conf
+ install -dm755 "$pkgdir/var/log/journal"
}
package_systemd-sysvcompat() {
diff --git a/core/systemd/systemd.install b/core/systemd/systemd.install
index 784926e17..fa3e8f29a 100644
--- a/core/systemd/systemd.install
+++ b/core/systemd/systemd.install
@@ -24,6 +24,11 @@ post_upgrade() {
# horrific happens, so just mask the error.
systemctl -q enable getty@.service || true
fi
+
+ if [ "$(vercmp 194-4 "$2")" -eq 1 ]; then
+ printf '==> journald now writes to /var/log/journal by default. This can be\n'
+ printf ' controlled with the Storage setting in /etc/systemd/journald.conf\n'
+ fi
}
# vim:set ts=2 sw=2 et: