summaryrefslogtreecommitdiff
path: root/testing/mdadm/mdadm.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-04 23:14:34 +0000
committerroot <root@rshg054.dnsready.net>2011-08-04 23:14:34 +0000
commit7e5cd77730015792e26338edcc137acf3f1bd2ae (patch)
tree7e8d59d2d1f570618635d8136647e0903f03bc0b /testing/mdadm/mdadm.install
parent8c2359e2541f9d1b11443b49d8ea502b3ffea39c (diff)
Thu Aug 4 23:14:34 UTC 2011
Diffstat (limited to 'testing/mdadm/mdadm.install')
-rw-r--r--testing/mdadm/mdadm.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/mdadm/mdadm.install b/testing/mdadm/mdadm.install
new file mode 100644
index 000000000..e8404c260
--- /dev/null
+++ b/testing/mdadm/mdadm.install
@@ -0,0 +1,10 @@
+# arg 1: the new package version
+# arg 2: the old package version
+
+post_upgrade() {
+ if [ "$(vercmp $2 2.6.8-2)" -lt 0 -a "$(grep raid_partitions /etc/mkinitcpio.conf)" ]; then
+ echo "Attention mdadm update:"
+ echo "raid_partitions hook has been replaced by the more powerfull mdadm hook."
+ echo "Please update your /etc/mkinitcpio.conf accordingly."
+ fi
+}