[PATCH 4/5] Remove compatability with acient initramfs-tools.

Dmitrijs Ledkovs dmitrijs.ledkovs at canonical.com
Tue May 22 00:54:54 UTC 2012


On one hand, it is saver to have it in.

On the other hand, people should have transitions to initramfs
since etch, and it would be challenging to support acient initrd's.

I'd want to see this go...
---
 debian/initramfs/hook |   14 --------------
 1 file changed, 14 deletions(-)

diff --git a/debian/initramfs/hook b/debian/initramfs/hook
index b7eab11..4852003 100644
--- a/debian/initramfs/hook
+++ b/debian/initramfs/hook
@@ -48,20 +48,6 @@ err()
   write E "$@"
 }
 
-if [ -e /usr/share/initramfs-tools/hooks/md ]; then
-  warn "initramfs md hook still present, stepping out of its way."
-  warn "Please see /usr/share/doc/mdadm/README.initramfs-transition ."
-  exit 0
-fi
-
-if [ -e /etc/initramfs-tools/hooks/md ]; then
-  warn "I found /etc/initramfs-tools/hooks/md, which may conflict"
-  warn "with this version of mdadm. Please use"
-  warn "/usr/share/initramfs-tools/hooks/mdadm as reference and update"
-  warn "(or remove) the file."
-  exit 0
-fi
-
 MDADM=/sbin/mdadm
 [ -x "$MDADM" ] || exit 0
 
-- 
1.7.9.5




More information about the pkg-mdadm-devel mailing list