[readonly/geninitrd: 507/1068] Unbreak softraid detection.

draenog draenog at pld-linux.org
Sat Nov 2 19:55:01 CET 2013


commit 26698ab2325439e526bdbd3eff8b7eeee891ebfe
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Nov 4 20:46:09 2007 +0000

    Unbreak softraid detection.
    
    svn-id: @8985

 TODO      | 3 ---
 geninitrd | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/TODO b/TODO
index 9affa1a..e9768f4 100644
--- a/TODO
+++ b/TODO
@@ -24,6 +24,3 @@
 1 dependencies  : (254, 7)
 # dmsetup deps 360060160dac01800c462f46c2e3fdb11
 2 dependencies  : (8, 0) (8, 64)
-
- at 8992
-- softraid ($have_md) isn't detected
diff --git a/geninitrd b/geninitrd
index 01b25d5..bf16cb7 100755
--- a/geninitrd
+++ b/geninitrd
@@ -785,7 +785,7 @@ find_modules_for_device() {
 		return
 	fi
 
-	if [[ "$devpath" == /dev/md/* ]]; then
+	if [[ "$devpath" == /dev/md* ]]; then
 		find_modules_md "$devpath"
 		return
 	fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/147754ca159d40ca5eb541074dc043d8cbd92090



More information about the pld-cvs-commit mailing list