mkinitcpio.install 564 B

12345678910111213141516
  1. #!/bin/sh
  2. post_upgrade() {
  3. if [ "$(vercmp 0.9.0 "$2")" -eq 1 ]; then
  4. printf '==> If your /usr is on a separate partition, you must add the "usr" hook\n'
  5. printf ' to /etc/mkinitcpio.conf and regenerate your images before rebooting\n'
  6. fi
  7. if [ "$(vercmp 0.12.0 "$2")" -eq 1 ]; then
  8. printf '==> The "block" hook has replaced several hooks:\n'
  9. printf ' fw, sata, pata, scsi, virtio, mmc, usb\n'
  10. printf ' Replace any and all of these in /etc/mkinitcpio.conf with a single\n'
  11. printf ' instance of the "block" hook\n'
  12. fi
  13. }