diff options
author | root <root@rshg054.dnsready.net> | 2012-10-17 01:15:52 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-17 01:15:52 -0700 |
commit | c84b2cd310f86dc50c4f52a5907cb17652e8c87c (patch) | |
tree | ef3dc614b68e1e6f5966a5d29f3970e27bb7c4f9 /testing/systemd | |
parent | 99d0ec7ebad2eda5f3a03098962e3b250e3bef4c (diff) |
Wed Oct 17 01:14:52 PDT 2012
Diffstat (limited to 'testing/systemd')
-rw-r--r-- | testing/systemd/PKGBUILD | 6 | ||||
-rw-r--r-- | testing/systemd/systemd.install | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/testing/systemd/PKGBUILD b/testing/systemd/PKGBUILD index f6660eec5..073d99b15 100644 --- a/testing/systemd/PKGBUILD +++ b/testing/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/testing/systemd/systemd.install b/testing/systemd/systemd.install index 784926e17..fa3e8f29a 100644 --- a/testing/systemd/systemd.install +++ b/testing/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: |