summaryrefslogtreecommitdiff
path: root/debian/initramfs
diff options
context:
space:
mode:
authorDmitrijs Ledkovs <dmitrijs.ledkovs@canonical.com>2012-05-22 01:54:54 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2012-05-25 21:31:37 +0400
commit90e9c42e80021823574b6f547743292efe99f19e (patch)
tree1c45608ecb5fcf0f7cf1f62c47a2428bb9e814a4 /debian/initramfs
parent48da33f2ec22280037db6cd50ade314c02a9800c (diff)
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...
Diffstat (limited to 'debian/initramfs')
-rw-r--r--debian/initramfs/hook14
1 files changed, 0 insertions, 14 deletions
diff --git a/debian/initramfs/hook b/debian/initramfs/hook
index b7eab113..48520031 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