[arch-commits] Commit in systemd/trunk (PKGBUILD systemd.install)

Dave Reisner dreisner at archlinux.org
Tue Oct 16 12:44:05 UTC 2012


    Date: Tuesday, October 16, 2012 @ 08:44:04
  Author: dreisner
Revision: 168894

upgpkg: systemd 194-4

- rebuild against python 3.3
- write journal logs to persistent storage by default

Modified:
  systemd/trunk/PKGBUILD
  systemd/trunk/systemd.install

-----------------+
 PKGBUILD        |    6 +++++-
 systemd.install |    5 +++++
 2 files changed, 10 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-10-16 12:14:43 UTC (rev 168893)
+++ PKGBUILD	2012-10-16 12:44:04 UTC (rev 168894)
@@ -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 @@
   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 @@
   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() {

Modified: systemd.install
===================================================================
--- systemd.install	2012-10-16 12:14:43 UTC (rev 168893)
+++ systemd.install	2012-10-16 12:44:04 UTC (rev 168894)
@@ -24,6 +24,11 @@
     # horrific happens, so just mask the error.
     systemctl -q enable getty at .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:




More information about the arch-commits mailing list