[arch-commits] Commit in lvm2/trunk (PKGBUILD)

Christian Hesse eworm at archlinux.org
Wed Apr 10 09:44:12 UTC 2019


    Date: Wednesday, April 10, 2019 @ 09:44:12
  Author: eworm
Revision: 350520

upgpkg: lvm2 2.02.184-2

fix systemd shutdown ordering

Modified:
  lvm2/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-10 07:56:13 UTC (rev 350519)
+++ PKGBUILD	2019-04-10 09:44:12 UTC (rev 350520)
@@ -4,7 +4,7 @@
 pkgbase=lvm2
 pkgname=('lvm2' 'device-mapper')
 pkgver=2.02.184
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://sourceware.org/lvm2/'
 license=('GPL2' 'LGPL2.1')
@@ -23,9 +23,20 @@
             'b749c2da0e9307b0c2c3858d024a19c268e01e393e876a284fe1a302427f72f1'
             'e10f24b57582d6e2da71f7c80732a62e0ee2e3b867fe84591ccdb53e80fa92e0')
 
+_backports=(
+  # systemd: add missing Before=shutdown.target to LVM2 services to fix shutdown ordering
+  0a726a7e268b31856615491809af73bda5d4d6f9
+)
+
 prepare() {
   cd lvm2/
 
+  local _c
+  for _c in "${_backports[@]}"; do
+    git log --oneline -1 "${_c}"
+    git show "${_c}" -- ':(exclude)WHATS_NEW' | git apply
+  done
+
   # remove install section from systemd units that are enabled by default
   sed -i -e '/^\[Install\]$/,$d' \
     scripts/dm_event_systemd_red_hat.socket.in \



More information about the arch-commits mailing list