summaryrefslogtreecommitdiffstats
path: root/abs/core/lvm2/lvm2.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2014-02-16 23:54:48 (GMT)
committerJames Meyer <james.meyer@operamail.com>2014-02-19 19:03:03 (GMT)
commita5ab0f4ea7aea271cd87c75a9cdfac595dcc97b7 (patch)
treed711f3e6f9942a4399d4704e566f5447da68cf89 /abs/core/lvm2/lvm2.install
parente9cd17be0f57ba3a9abd1af55e306b5bb1a5dce6 (diff)
downloadlinhes_pkgbuild-a5ab0f4ea7aea271cd87c75a9cdfac595dcc97b7.zip
linhes_pkgbuild-a5ab0f4ea7aea271cd87c75a9cdfac595dcc97b7.tar.gz
linhes_pkgbuild-a5ab0f4ea7aea271cd87c75a9cdfac595dcc97b7.tar.bz2
lvm2
update binary path to /usr/bin refs #961
Diffstat (limited to 'abs/core/lvm2/lvm2.install')
-rw-r--r--abs/core/lvm2/lvm2.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/abs/core/lvm2/lvm2.install b/abs/core/lvm2/lvm2.install
new file mode 100644
index 0000000..7faf708
--- /dev/null
+++ b/abs/core/lvm2/lvm2.install
@@ -0,0 +1,16 @@
+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
+}
+
+# vim:set ts=2 sw=2 et: