summaryrefslogtreecommitdiffstats
path: root/abs/core/lvm2/lvm2.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2020-10-04 15:27:17 (GMT)
committerBritney Fransen <brfransen@gmail.com>2020-10-04 15:27:17 (GMT)
commit6fd74d8dbdee455d63c717cf2af1080f774014e7 (patch)
treeaf0d267a2f243276e5d76743373c3039625dd6b5 /abs/core/lvm2/lvm2.install
parent3372080db4f5cc519a1f38e6bd7211cb6ab6ee53 (diff)
downloadlinhes_pkgbuild-6fd74d8dbdee455d63c717cf2af1080f774014e7.zip
linhes_pkgbuild-6fd74d8dbdee455d63c717cf2af1080f774014e7.tar.gz
linhes_pkgbuild-6fd74d8dbdee455d63c717cf2af1080f774014e7.tar.bz2
lvm2: update to 2.02.187
Diffstat (limited to 'abs/core/lvm2/lvm2.install')
-rw-r--r--abs/core/lvm2/lvm2.install25
1 files changed, 0 insertions, 25 deletions
diff --git a/abs/core/lvm2/lvm2.install b/abs/core/lvm2/lvm2.install
deleted file mode 100644
index e11834d..0000000
--- a/abs/core/lvm2/lvm2.install
+++ /dev/null
@@ -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: