summaryrefslogtreecommitdiffstats
path: root/abs/core/mkinitcpio/mkinitcpio.install
blob: 8571ee7d3f2d78aeb3b64e7043292dc4f993cef9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

post_upgrade() {
  if [ "$(vercmp 0.9.0 "$2")" -eq 1 ]; then
    printf '==> If your /usr is on a separate partition, you must add the "usr" hook\n'
    printf '    to /etc/mkinitcpio.conf and regenerate your images before rebooting\n'
  fi

  if [ "$(vercmp 0.12.0 "$2")" -eq 1 ]; then
    printf '==> The "block" hook has replaced several hooks:\n'
    printf '       fw, sata, pata, scsi, virtio, mmc, usb\n'
    printf '    Replace any and all of these in /etc/mkinitcpio.conf with a single\n'
    printf '    instance of the "block" hook\n'
  fi
}