summaryrefslogtreecommitdiffstats
path: root/abs/core/mkinitcpio/mkinitcpio.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/mkinitcpio/mkinitcpio.install')
-rw-r--r--abs/core/mkinitcpio/mkinitcpio.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/core/mkinitcpio/mkinitcpio.install b/abs/core/mkinitcpio/mkinitcpio.install
new file mode 100644
index 0000000..d8bbfdb
--- /dev/null
+++ b/abs/core/mkinitcpio/mkinitcpio.install
@@ -0,0 +1,8 @@
+#!/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
+}