]> git.pld-linux.org Git - packages/anaconda.git/commitdiff
- stop that stupid termination if /dev/mapper/control exists
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 28 Sep 2006 15:17:34 +0000 (15:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    anaconda-errorhandling.patch -> 1.4

anaconda-errorhandling.patch

index e8f8e7c1230e1ca678c0828a1cb2e465f0266e6d..b67d63db46a7b6af6147e075840689e2ba5758cd 100644 (file)
        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"),
This page took 0.029155 seconds and 4 git commands to generate.