Dmitrijs Ledkovs: Remove compatability with acient initramfs-tools.

Michael Tokarev mjt at alioth.debian.org
Fri May 25 18:01:42 UTC 2012


Module: mdadm
Branch: master
Commit: 90e9c42e80021823574b6f547743292efe99f19e
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=90e9c42e80021823574b6f547743292efe99f19e

Author: Dmitrijs Ledkovs <dmitrijs.ledkovs at canonical.com>
Date:   Tue May 22 01:54:54 2012 +0100

Remove compatability with acient initramfs-tools.

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 files changed, 0 insertions(+), 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
 




More information about the pkg-mdadm-commits mailing list