]> git.pld-linux.org Git - packages/anaconda.git/commitdiff
- don't fail if /dev/ get's --bind mounted and /dev/root already exists there
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 24 May 2006 19:42:12 +0000 (19:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    anaconda-errorhandling.patch -> 1.2

anaconda-errorhandling.patch

index 34a3ba9bf09315ab7ac9df4b462155cc6c50cbf8..d2c2a44a1682fe81d755a2fae93b7335cc3bca5e 100644 (file)
                  
              else:
                  os.makedirs("%s-disc%d/%s/RPMS" % (self.dist_dir, i, self.product_path))
                  
              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
This page took 0.041891 seconds and 4 git commands to generate.