Bug#516605: [PATCH] add prereq on multipath

Guido Günther agx at sigxcpu.org
Thu Apr 23 18:27:20 UTC 2009


Hi,
The bug is tagged patch, but there's only one for LVM attached. Here's
the one for mdadm. Please apply. Having this fixed in one of the point
releases as Bernd suggested would be great!
 -- Guido
---
 debian/initramfs/script.local-top |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/debian/initramfs/script.local-top b/debian/initramfs/script.local-top
index 14c2f5a..bf63cb1 100644
--- a/debian/initramfs/script.local-top
+++ b/debian/initramfs/script.local-top
@@ -6,8 +6,15 @@
 #
 set -eu
 
+PREREQ="multipath"
+
+prereqs() { echo "$PREREQ"; }
+
 case ${1:-} in
-  prereqs) exit 0;;
+  prereqs)
+        prereqs
+        exit 0
+        ;;
 esac
 
 . /scripts/functions
-- 
1.6.2.1






More information about the pkg-mdadm-devel mailing list