1 --- anaconda-11.0.5/scripts/splittree.py 2005-05-16 19:11:52.000000000 +0300
2 +++ /usr/lib/anaconda-runtime/splittree.py 2006-05-18 00:47:56.275877225 +0300
4 _ts = rpm.TransactionSet()
6 fd = os.open(pkgfile, os.O_RDONLY)
7 - h = _ts.hdrFromFdno(fd)
9 + h = _ts.hdrFromFdno(fd)
11 + raise RuntimeError, 'rpm: %s %s' % (pkgfile, sys.exc_info()[1])
14 return "%s-%s-%s.%s.rpm" %(h['name'], h['version'], h['release'],
18 # now create the dirs for disc1
19 for j in range(0, len(dirlist)):
20 - os.makedirs("%s-disc%d/%s" % (self.dist_dir, i, dirlist[j]))
22 + os.makedirs("%s-disc%d/%s" % (self.dist_dir, i, dirlist[j]))
26 for j in range(0, len(filelist)):
27 filelist[j] = string.replace(filelist[j], self.dist_dir, '')
31 # now create the product/RPMS dir
32 - os.makedirs("%s-disc%d/%s/RPMS" % (self.dist_dir, i, self.product_path))
34 + os.makedirs("%s-disc%d/%s/RPMS" % (self.dist_dir, i, self.product_path))
39 os.makedirs("%s-disc%d/%s/RPMS" % (self.dist_dir, i, self.product_path))
40 --- anaconda-11.0.5/fsset.py~ 2006-05-24 22:08:46.490080945 +0300
41 +++ anaconda-11.0.5/fsset.py 2006-05-24 22:17:32.421824167 +0300
43 isys.makeDevInode(root.device.getDevice(), dev)
44 rdev = os.stat(dev).st_rdev
46 + if os.path.exists(instPath + "/dev/root"):
47 + os.unlink(instPath + "/dev/root")
48 os.mknod("%s/dev/root" % (instPath,), stat.S_IFBLK | 0600, rdev)
50 # return the "boot" device