SVN: geninitrd/trunk/geninitrd

glen glen at pld-linux.org
Fri Feb 27 18:19:41 CET 2009


Author: glen
Date: Fri Feb 27 18:19:40 2009
New Revision: 10154

Modified:
   geninitrd/trunk/geninitrd
Log:
- no modules are to be found from directories

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd	(original)
+++ geninitrd/trunk/geninitrd	Fri Feb 27 18:19:40 2009
@@ -649,19 +649,19 @@
 
 	if [[ "$devpath" == /dev/rd/* ]]; then
 		findmodule "DAC960"
-		rootdev_add="/dev/rd/"
+		rootdev_add=/dev/rd/
 		return
 	fi
 
 	if [[ "$devpath" == /dev/ida/* ]]; then
 		findmodule "cpqarray"
-		rootdev_add="/dev/ida/"
+		rootdev_add=/dev/ida/
 		return
 	fi
 
 	if [[ "$devpath" == /dev/cciss/* ]]; then
 		findmodule "cciss"
-		rootdev_add="/dev/cciss/"
+		rootdev_add=/dev/cciss/
 		return
 	fi
 
@@ -676,7 +676,7 @@
 		for n in $ataraidmodules; do
 			findmodule "$n"
 		done
-		rootdev_add="/dev/ataraid/"
+		rootdev_add=/dev/ataraid/
 		return
 	fi
 
@@ -1585,7 +1585,6 @@
 debug "Using $rootdev as device for rootfs"
 
 find_modules_for_devpath "$rootdev"
-[ -n "$rootdev_add" ] && find_modules_for_devpath "$rootdev_add"
 
 findmodule "-$rootFs"
 


More information about the pld-cvs-commit mailing list