From 9598f5141ea75ffa72a3c7c85639c6f296020ef1 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 20 Oct 2012 01:22:20 -0700 Subject: Sat Oct 20 01:22:19 PDT 2012 --- core/systemd/PKGBUILD | 6 +++++- core/systemd/systemd.install | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'core/systemd') 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: -- cgit v1.2.3-54-g00ecf