SOURCES: anaconda-errorhandling.patch - don't fail if /dev/ get's ...

glen glen at pld-linux.org
Wed May 24 21:42:18 CEST 2006


Author: glen                         Date: Wed May 24 19:42:18 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't fail if /dev/ get's --bind mounted and /dev/root already exists there

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

---- Diffs:

================================================================
Index: SOURCES/anaconda-errorhandling.patch
diff -u SOURCES/anaconda-errorhandling.patch:1.1 SOURCES/anaconda-errorhandling.patch:1.2
--- SOURCES/anaconda-errorhandling.patch:1.1	Wed May 17 23:57:04 2006
+++ SOURCES/anaconda-errorhandling.patch	Wed May 24 21:42:12 2006
@@ -37,3 +37,14 @@
                  
              else:
                  os.makedirs("%s-disc%d/%s/RPMS" % (self.dist_dir, i, self.product_path))
+--- anaconda-11.0.5/fsset.py~	2006-05-24 22:08:46.490080945 +0300
++++ anaconda-11.0.5/fsset.py	2006-05-24 22:17:32.421824167 +0300
+@@ -1284,6 +1284,8 @@
+             isys.makeDevInode(root.device.getDevice(), dev)        
+         rdev = os.stat(dev).st_rdev
+         
++        if os.path.exists(instPath + "/dev/root"):
++            os.unlink(instPath + "/dev/root")
+         os.mknod("%s/dev/root" % (instPath,), stat.S_IFBLK | 0600, rdev)
+ 
+     # return the "boot" device
================================================================

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



More information about the pld-cvs-commit mailing list