martin f. krafft: Make initramfs script exit after printing the prerequisites

Martin F. Krafft madduck at alioth.debian.org
Thu May 7 12:11:45 UTC 2009


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

Author: martin f. krafft <madduck at debian.org>
Date:   Sun May  3 17:30:34 2009 +0200

Make initramfs script exit after printing the prerequisites

Signed-off-by: martin f. krafft <madduck at debian.org>

---

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

diff --git a/debian/changelog b/debian/changelog
index 679b0be..09b0afe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+mdadm (2.6.9-3) unstable; urgency=low
+
+  * Fix the multipath prereq patch (#516605) and make it exit after printing
+    the prerequisites.
+
+ -- martin f. krafft <madduck at debian.org>  Sun, 03 May 2009 17:29:47 +0200
+
 mdadm (2.6.9-2) unstable; urgency=low
 
   * Fix the check of whether mdadm.conf defines all devices known to the
diff --git a/debian/initramfs/script.local-top b/debian/initramfs/script.local-top
index 0d314ee..226bb76 100644
--- a/debian/initramfs/script.local-top
+++ b/debian/initramfs/script.local-top
@@ -7,7 +7,7 @@
 set -eu
 
 case ${1:-} in
-  prereqs) echo "multipath";;
+  prereqs) echo "multipath"; exit 0;;
 esac
 
 . /scripts/functions




More information about the pkg-mdadm-commits mailing list