1 diff -ur anaconda-11.2.0.24.org/partedUtils.py anaconda-11.2.0.24/partedUtils.py
2 --- anaconda-11.2.0.24.org/partedUtils.py 2007-01-16 20:58:13.000000000 +0100
3 +++ anaconda-11.2.0.24/partedUtils.py 2007-02-20 18:33:58.522623000 +0100
7 def getReleaseString(mountpoint):
8 - if os.access(mountpoint + "/etc/redhat-release", os.R_OK):
9 - f = open(mountpoint + "/etc/redhat-release", "r")
10 + if os.access(mountpoint + "/etc/pld-release", os.R_OK):
11 + f = open(mountpoint + "/etc/pld-release", "r")
17 # get the release name and version
18 # assumes that form is something
19 - # like "Red Hat Linux release 6.2 (Zoot)"
20 - if relstr.find("release") != -1:
22 - idx = relstr.find("release")
23 - prod = relstr[:idx - 1]
26 - for a in relstr[idx + 8:]:
27 - if a in string.digits + ".":
32 - relstr = prod + " " + ver
34 - pass # don't worry, just use the relstr as we have it
35 + # like 2.99 PLD Linux (Th)
37 + relstr = relstr.split(' ')
40 + pass # don't worry, just use the relstr as we have it
44 diff -ur anaconda-11.2.0.24.org/scripts/pkgorder anaconda-11.2.0.24/scripts/pkgorder
45 --- anaconda-11.2.0.24.org/scripts/pkgorder 2007-02-20 18:23:45.538623000 +0100
46 +++ anaconda-11.2.0.24/scripts/pkgorder 2007-02-20 18:28:05.766623000 +0100
48 def createConfig(toppath):
51 -distroverpkg=redhat-release
56 +exclude=vserver-packages *debuginfo*
60 diff -ur anaconda-11.2.0.24.org/scripts/splittree.py anaconda-11.2.0.24/scripts/splittree.py
61 --- anaconda-11.2.0.24.org/scripts/splittree.py 2006-12-13 16:55:23.000000000 +0100
62 +++ anaconda-11.2.0.24/scripts/splittree.py 2007-02-20 18:27:17.982623000 +0100
66 self.reverse_sort_srpms=None
67 - self.common_files = ['beta_eula.txt', 'EULA', 'README', 'GPL', 'RPM-GPG-KEY', 'RPM-GPG-KEY-beta', 'RPM-GPG-KEY-fedora']
68 + self.common_files = ['beta_eula.txt', 'EULA', 'README', 'GPL', 'RPM-GPG-KEY', 'RPM-GPG-KEY-beta', 'RPM-GPG-KEY-PLD']
72 diff -ur anaconda-11.2.0.24.org/scripts/yumcache anaconda-11.2.0.24/scripts/yumcache
73 --- anaconda-11.2.0.24.org/scripts/yumcache 2007-01-30 22:55:56.000000000 +0100
74 +++ anaconda-11.2.0.24/scripts/yumcache 2007-02-20 18:24:43.130623000 +0100
79 -distroverpkg=redhat-release
84 diff -ur anaconda-11.2.0.24.org/yuminstall.py anaconda-11.2.0.24/yuminstall.py
85 --- anaconda-11.2.0.24.org/yuminstall.py 2007-02-13 14:56:08.000000000 +0100
86 +++ anaconda-11.2.0.24/yuminstall.py 2007-02-20 18:26:50.814623000 +0100
88 # Figure out current version for upgrade nag and for determining weird
90 supportedUpgradeVersion = -1
91 - for pkgtup in self.ayum.rpmdb.whatProvides('redhat-release', None, None):
92 + for pkgtup in self.ayum.rpmdb.whatProvides('issue', None, None):
93 n, a, e, v, r = pkgtup
94 if supportedUpgradeVersion <= 0:
95 val = rpmUtils.miscutils.compareEVR((None, '3', '1'),
96 --- anaconda-11.4.0.8/docs/command-line.txt~ 2007-12-13 22:09:32.000000000 +0100
97 +++ anaconda-11.4.0.8/docs/command-line.txt 2007-12-13 22:10:12.367665081 +0100
102 - o Don't require an /etc/redhat-release that matches the expected syntax
103 + o Don't require an /etc/pld-release that matches the expected syntax