SOURCES: anaconda-errorhandling.patch - stop that stupid terminati...

glen glen at pld-linux.org
Thu Sep 28 17:17:39 CEST 2006


Author: glen                         Date: Thu Sep 28 15:17:39 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- stop that stupid termination if /dev/mapper/control exists

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

---- Diffs:

================================================================
Index: SOURCES/anaconda-errorhandling.patch
diff -u SOURCES/anaconda-errorhandling.patch:1.3 SOURCES/anaconda-errorhandling.patch:1.4
--- SOURCES/anaconda-errorhandling.patch:1.3	Mon Jun  5 22:05:00 2006
+++ SOURCES/anaconda-errorhandling.patch	Thu Sep 28 17:17:34 2006
@@ -60,3 +60,16 @@
  	xsetup_failed = True
  
      if xsetup_failed:
+--- anaconda-11.0.5/iutil.py~	2006-09-28 14:47:23.119103876 +0300
++++ anaconda-11.0.5/iutil.py	2006-09-28 18:12:24.254179111 +0300
+@@ -405,6 +405,10 @@
+ 
+ # make the device-mapper control node
+ def makeDMNode(root="/"):
++    # skip the mknod if path already exists -- created by udev
++    if os.path.exists(root + "/dev/mapper/control"):
++        return
++
+     major = minor = None
+ 
+     for (fn, devname, val) in ( ("/proc/devices", "misc", "major"),
================================================================

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



More information about the pld-cvs-commit mailing list