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

Dave Reisner dreisner at nymeria.archlinux.org
Sat Jun 14 13:02:35 UTC 2014


    Date: Saturday, June 14, 2014 @ 15:02:35
  Author: dreisner
Revision: 215114

upgpkg: systemd 214-2

- remove coredump rule (FS#40737 , numerous idle upstream bugs)
- resolv -> resolve (FS#40830)

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

-----------------+
 PKGBUILD        |    5 ++++-
 systemd.install |   12 ++++++++----
 2 files changed, 12 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-14 12:47:31 UTC (rev 215113)
+++ PKGBUILD	2014-06-14 13:02:35 UTC (rev 215114)
@@ -4,7 +4,7 @@
 pkgbase=systemd
 pkgname=('systemd' 'libsystemd' 'systemd-sysvcompat')
 pkgver=214
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url="http://www.freedesktop.org/wiki/Software/systemd"
 makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gobject-introspection' 'gperf'
@@ -82,6 +82,9 @@
   rmdir "$pkgdir/etc/systemd/system/getty.target.wants" \
       "$pkgdir/etc/systemd/system/network-online.target.wants"
 
+  # remove the coredump rule until minidumps are a thing.
+  rm "$pkgdir/usr/lib/sysctl.d/50-coredump.conf"
+
   # get rid of RPM macros
   rm -r "$pkgdir/usr/lib/rpm"
 

Modified: systemd.install
===================================================================
--- systemd.install	2014-06-14 12:47:31 UTC (rev 215113)
+++ systemd.install	2014-06-14 13:02:35 UTC (rev 215114)
@@ -116,14 +116,14 @@
   fi
 }
 
-_214_1_changes() {
+_214_2_changes() {
   # /run/systemd/network/resolv.conf -> /run/systemd/resolve/resolv.conf
   if [[ etc/resolv.conf -ef run/systemd/network/resolv.conf ]]; then
     ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
 
     if sd_booted; then
-      if [[ ! -d run/systemd/resolv ]]; then
-        mkdir run/systemd/resolv
+      if [[ ! -d run/systemd/resolve ]]; then
+        mkdir run/systemd/resolve
       fi
 
       if [[ -f run/systemd/network/resolv.conf ]]; then
@@ -131,6 +131,10 @@
       fi
     fi
   fi
+
+  echo ':: coredumps are no longer sent to the journal by default. To re-enable:'
+  echo '   echo >/etc/sysctl.d/50-coredump.conf \'
+  echo '       "kernel.core_pattern=|/usr/lib/systemd/systemd-coredump %p %u %g %s %t %e"'
 }
 
 post_install() {
@@ -158,7 +162,7 @@
                     209-1
                     210-1
                     213-4
-                    214-1)
+                    214-2)
 
   for v in "${upgrades[@]}"; do
     if [[ $(vercmp "$v" "$2") -eq 1 ]]; then




More information about the arch-commits mailing list