[Pkg-uml-commit] r187 - trunk/src/rootstrap

Mattia Dongili malattia at costa.debian.org
Thu Aug 31 21:22:33 UTC 2006


Author: malattia
Date: 2006-08-31 21:22:33 +0000 (Thu, 31 Aug 2006)
New Revision: 187

Modified:
   trunk/src/rootstrap/builder
Log:
more debug printouts to ease what is happening

Modified: trunk/src/rootstrap/builder
===================================================================
--- trunk/src/rootstrap/builder	2006-08-31 20:48:14 UTC (rev 186)
+++ trunk/src/rootstrap/builder	2006-08-31 21:22:33 UTC (rev 187)
@@ -41,8 +41,6 @@
         script = scriptpat % module
 
 	if os.path.exists(script):
-            print "Using rootstrap module %s from:\n\t%s" % (module,script)
-
 	    # try to ease module debugging
 	    #
 	    # debug_exit == 0 --> exit and raise exception
@@ -50,11 +48,12 @@
 	    #               2 --> go on with next script
 	    #               X --> exit and raise exception
 	    while 1:
+                print "Using rootstrap module %s from:\n\t%s" % (module,script)
                 status = os.spawnle(os.P_WAIT, script, script, vars)
 
                 if status != 0:
 	            if "debug" in vars and vars["debug"] == "true":
-			print "Module %s failed with %d" % (module,status)
+			print "Module %s failed with status %d" % (module,status)
 	                debug_exit = os.spawnle(os.P_WAIT, "/bin/sh", "/bin/sh", vars)
 			if debug_exit == 1:
 			    continue




More information about the Pkg-uml-commit mailing list