diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /core/mdadm/mdadm.install |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'core/mdadm/mdadm.install')
-rw-r--r-- | core/mdadm/mdadm.install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/mdadm/mdadm.install b/core/mdadm/mdadm.install new file mode 100644 index 000000000..e8404c260 --- /dev/null +++ b/core/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 +} |