SOURCES: anaconda-errorhandling.patch - show error why startx failed

glen glen at pld-linux.org
Mon Jun 5 22:05:05 CEST 2006


Author: glen                         Date: Mon Jun  5 20:05:05 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- show error why startx failed

---- Files affected:
SOURCES:
   anaconda-errorhandling.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/anaconda-errorhandling.patch
diff -u SOURCES/anaconda-errorhandling.patch:1.2 SOURCES/anaconda-errorhandling.patch:1.3
--- SOURCES/anaconda-errorhandling.patch:1.2	Wed May 24 21:42:12 2006
+++ SOURCES/anaconda-errorhandling.patch	Mon Jun  5 22:05:00 2006
@@ -48,3 +48,15 @@
          os.mknod("%s/dev/root" % (instPath,), stat.S_IFBLK | 0600, rdev)
  
      # return the "boot" device
+--- anaconda-11.0.5/anaconda	2006-06-05 23:04:26.382957338 +0300
++++ anaconda-11.0.5/anaconda	2006-06-05 23:04:04.572468297 +0300
+@@ -952,7 +952,8 @@
+ 			      logfile = xlogfile,
+ 			      xStartedCB = doStartupX11Actions,
+ 			      xQuitCB = doShutdownX11Actions, useFB = useFBX)
+-    except RuntimeError:
++    except RuntimeError, msg:
++	log.warning("xserver.startX: %s", msg)
+ 	xsetup_failed = True
+ 
+     if xsetup_failed:
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/anaconda-errorhandling.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list