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

Christian Hesse eworm at archlinux.org
Wed Oct 31 20:40:01 UTC 2018


    Date: Wednesday, October 31, 2018 @ 20:40:00
  Author: eworm
Revision: 337657

upgpkg: lvm2 2.02.182-1

new upstream release

Modified:
  lvm2/trunk/PKGBUILD
Deleted:
  lvm2/trunk/lvm2.install

--------------+
 PKGBUILD     |    3 +--
 lvm2.install |   25 -------------------------
 2 files changed, 1 insertion(+), 27 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-31 20:20:06 UTC (rev 337656)
+++ PKGBUILD	2018-10-31 20:40:00 UTC (rev 337657)
@@ -3,7 +3,7 @@
 
 pkgbase=lvm2
 pkgname=('lvm2' 'device-mapper')
-pkgver=2.02.181
+pkgver=2.02.182
 pkgrel=1
 arch=('x86_64')
 url='https://sourceware.org/lvm2/'
@@ -98,7 +98,6 @@
   backup=('etc/lvm/lvm.conf'
     'etc/lvm/lvmlocal.conf')
   options=('!makeflags')
-  install=lvm2.install
 
   cd lvm2/
 

Deleted: lvm2.install
===================================================================
--- lvm2.install	2018-10-31 20:20:06 UTC (rev 337656)
+++ lvm2.install	2018-10-31 20:40:00 UTC (rev 337657)
@@ -1,25 +0,0 @@
-post_upgrade() {
-  if [ $(vercmp $2 2.02.98-2) -lt 0 ]; then
-    echo "Changes to the lvm2 package:"
-    echo " + Activating lvm in mkinitcpio now requires both the 'udev' and 'lvm2' hooks."
-    echo " + LVM volumes are automatically activated by udev (full hotplug support)."
-    echo " + You MUST have use_lvmetad = 1 in /etc/lvm/lvm.conf (the default)."
-    echo " + If you uncomment auto_activation_volume_list in /etc/lvm/lvm.conf, only the"
-    echo "   volumes listed there will be activated (default: it is commented out)."
-    if [ -f /etc/lvm/lvm.conf.pacnew ]; then
-        echo "WARNING: /etc/lvm/lvm.conf.pacnew exists. You MUST merge the required changes"
-        echo "         into /etc/lvm/lvm.conf or LVM will fail to work."
-    fi
-  fi
-
-  if [ $(vercmp $2 2.02.106-2) -lt 0 ]; then
-    if [ -L /etc/systemd/system/sysinit.target.wants/lvm-monitoring.service ]; then
-      echo "rm /etc/systemd/system/sysinit.target.wants/lvm-monitoring.service"
-      rm /etc/systemd/system/sysinit.target.wants/lvm-monitoring.service
-      echo "ln -s /usr/lib/systemd/system/lvm2-monitor.service /etc/systemd/system/sysinit.target.wants/lvm2-monitor.service"
-      ln -s /usr/lib/systemd/system/lvm2-monitor.service /etc/systemd/system/sysinit.target.wants/lvm2-monitor.service
-    fi
-  fi
-}
-
-# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list