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

Dave Reisner dreisner at nymeria.archlinux.org
Sat Jul 5 14:53:48 UTC 2014


    Date: Saturday, July 5, 2014 @ 16:53:48
  Author: dreisner
Revision: 216546

upgpkg: systemd 215-2

- forcibly create os-release symlink on upgrade since people won't rebuild
  their initramfs after upgrading.

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-07-05 14:33:24 UTC (rev 216545)
+++ PKGBUILD	2014-07-05 14:53:48 UTC (rev 216546)
@@ -4,7 +4,7 @@
 pkgbase=systemd
 pkgname=('systemd' 'libsystemd' 'systemd-sysvcompat')
 pkgver=215
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url="http://www.freedesktop.org/wiki/Software/systemd"
 makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gobject-introspection' 'gperf'

Modified: systemd.install
===================================================================
--- systemd.install	2014-07-05 14:33:24 UTC (rev 216545)
+++ systemd.install	2014-07-05 14:53:48 UTC (rev 216546)
@@ -137,6 +137,11 @@
   echo '       "kernel.core_pattern=|/usr/lib/systemd/systemd-coredump %p %u %g %s %t %e"'
 }
 
+_215_2_changes() {
+  # create at least the symlink from /etc/os-release to /usr/lib/os-release
+  systemd-tmpfiles --create etc.conf
+}
+
 post_install() {
   post_common "$@"
 
@@ -162,7 +167,8 @@
                     209-1
                     210-1
                     213-4
-                    214-2)
+                    214-2
+                    215-2)
 
   for v in "${upgrades[@]}"; do
     if [[ $(vercmp "$v" "$2") -eq 1 ]]; then




More information about the arch-commits mailing list