diff options
author | root <root@rshg047.dnsready.net> | 2011-06-18 23:03:19 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-18 23:03:19 +0000 |
commit | c80552b41838a5668458ebb1eb9b0f44ea6fe879 (patch) | |
tree | d8404bc10128ad69e29c762d116434876e5885a7 /testing/mdadm/mdadm.install | |
parent | e96f6ac6e912185a495a99af2b0d51b73bd1d044 (diff) |
Sat Jun 18 23:03:19 UTC 2011
Diffstat (limited to 'testing/mdadm/mdadm.install')
-rw-r--r-- | testing/mdadm/mdadm.install | 10 |
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 +} |