martin f. krafft: Make initramfs script depend on multipath to ensure its script is run before ours (closes: #516605).

Martin F. Krafft madduck at alioth.debian.org
Mon Mar 9 15:40:31 UTC 2009


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

Author: martin f. krafft <madduck at debian.org>
Date:   Mon Feb 23 07:52:30 2009 +0100

Make initramfs script depend on multipath to ensure its script is run before ours (closes: #516605).

---

 debian/changelog                  |    2 ++
 debian/initramfs/script.local-top |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 26aba83..32be239 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ mdadm (2.6.8-12-gb47dff6-3) unstable; urgency=low
 
   * Do not set -eu in the bugscript to maximise information output in the case
     of errors.
+  * Make initramfs script depend on multipath to ensure its script is run
+    before ours (closes: #516605).
 
  -- martin f. krafft <madduck at debian.org>  Tue, 17 Feb 2009 09:02:24 +0100
 
diff --git a/debian/initramfs/script.local-top b/debian/initramfs/script.local-top
index 14c2f5a..0d314ee 100644
--- a/debian/initramfs/script.local-top
+++ b/debian/initramfs/script.local-top
@@ -7,7 +7,7 @@
 set -eu
 
 case ${1:-} in
-  prereqs) exit 0;;
+  prereqs) echo "multipath";;
 esac
 
 . /scripts/functions




More information about the pkg-mdadm-commits mailing list