summaryrefslogtreecommitdiffstats
path: root/abs/core/lvm2/lvm2.install
blob: 7faf708d48d0f5e22bc9463c308395134e191db5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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: