[readonly/geninitrd/devel: 251/334] Fix for mdadm >= v1.12.0. Version >= v1.12.0 is now required.

draenog draenog at pld-linux.org
Sat Nov 2 19:32:38 CET 2013


commit 8617aec35c3d79ab9ab0fe3c548f1ea600ab3678
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jun 27 06:25:40 2005 +0000

    Fix for mdadm >= v1.12.0. Version >= v1.12.0 is now required.
    
    svn-id: @6191

 geninitrd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/geninitrd b/geninitrd
index 64c7922..000086b 100755
--- a/geninitrd
+++ b/geninitrd
@@ -329,7 +329,7 @@ find_root() {
 find_modules_softraid() {
         if [ -f /etc/mdadm.conf ] ; then
 	    [ -n "$verbose" ] && echo "Finding RAID details using mdadm for rootdev=$1"
-	    eval `/sbin/mdadm --examine  --scan --config=/etc/mdadm.conf | \
+	    eval `/sbin/mdadm -v --examine  --scan --config=/etc/mdadm.conf | \
 	    	  awk -v rootdev="$1" '
 	BEGIN {
 		found = "no";
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/398807324938659207036e520c0950a61ef50c11



More information about the pld-cvs-commit mailing list