[readonly/geninitrd/BUSYBOX: 19/113] Bug fix: bsp was never used.

draenog draenog at pld-linux.org
Sat Nov 2 19:11:37 CET 2013


commit 2b9510adfc573d0a54c32e4c834576cb6274720b
Author: Michal Moskal <michal at moskal.me>
Date:   Fri Dec 15 17:17:38 2000 +0000

    Bug fix: bsp was never used.
    
    
    svn-id: @1171

 geninitrd | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index e63712d..16d8869 100755
--- a/geninitrd
+++ b/geninitrd
@@ -319,12 +319,12 @@ if is_yes "`echo $rootdev | cut -d/ -f3 | awk '/loop/ { print "yes"; }'`" ; then
     BASICMODULES="$BASICMODULES -loop"
     findmodule "-$loopFs"
     BASICMODULES="$BASICMODULES -${loopFs}"
-else # Check for other filesystems
-    rootFs=`awk '{if ($2 == "/") {print $3}}' $fstab`
-    findmodule "-$rootFs"
     # don't have any clue, how is this supposed to work,
     # anyway no bsp
     USEBSP="no"
+else # Check for other filesystems
+    rootFs=`awk '{if ($2 == "/") {print $3}}' $fstab`
+    findmodule "-$rootFs"
 fi
 
 for n in $BASICMODULES; do 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/0999a53e93eedcf489380684b998ce04aaddf11c



More information about the pld-cvs-commit mailing list