1 diff -ur anaconda-11.2.0.24.org/docs/command-line.txt anaconda-11.2.0.24/docs/command-line.txt
2 --- anaconda-11.2.0.24.org/docs/command-line.txt 2006-12-04 23:05:25.000000000 +0100
3 +++ anaconda-11.2.0.24/docs/command-line.txt 2007-02-20 18:24:43.130623000 +0100
6 updates=http://<path> Image containing updates over HTTP.
8 -upgradeany Don't require an /etc/redhat-release that matches the
9 +upgradeany Don't require an /etc/pld-release that matches the
10 expected syntax to upgrade.
12 vnc Enable vnc-based installation. You will need to connect
13 diff -ur anaconda-11.2.0.24.org/partedUtils.py anaconda-11.2.0.24/partedUtils.py
14 --- anaconda-11.2.0.24.org/partedUtils.py 2007-01-16 20:58:13.000000000 +0100
15 +++ anaconda-11.2.0.24/partedUtils.py 2007-02-20 18:33:58.522623000 +0100
19 def getReleaseString(mountpoint):
20 - if os.access(mountpoint + "/etc/redhat-release", os.R_OK):
21 - f = open(mountpoint + "/etc/redhat-release", "r")
22 + if os.access(mountpoint + "/etc/pld-release", os.R_OK):
23 + f = open(mountpoint + "/etc/pld-release", "r")
29 # get the release name and version
30 # assumes that form is something
31 - # like "Red Hat Linux release 6.2 (Zoot)"
32 - if relstr.find("release") != -1:
34 - idx = relstr.find("release")
35 - prod = relstr[:idx - 1]
38 - for a in relstr[idx + 8:]:
39 - if a in string.digits + ".":
44 - relstr = prod + " " + ver
46 - pass # don't worry, just use the relstr as we have it
47 + # like 2.99 PLD Linux (Th)
49 + relstr = relstr.split(' ')
52 + pass # don't worry, just use the relstr as we have it
56 diff -ur anaconda-11.2.0.24.org/scripts/pkgorder anaconda-11.2.0.24/scripts/pkgorder
57 --- anaconda-11.2.0.24.org/scripts/pkgorder 2007-02-20 18:23:45.538623000 +0100
58 +++ anaconda-11.2.0.24/scripts/pkgorder 2007-02-20 18:28:05.766623000 +0100
60 def createConfig(toppath):
63 -distroverpkg=redhat-release
68 +exclude=vserver-packages *debuginfo*
72 diff -ur anaconda-11.2.0.24.org/scripts/splittree.py anaconda-11.2.0.24/scripts/splittree.py
73 --- anaconda-11.2.0.24.org/scripts/splittree.py 2006-12-13 16:55:23.000000000 +0100
74 +++ anaconda-11.2.0.24/scripts/splittree.py 2007-02-20 18:27:17.982623000 +0100
78 self.reverse_sort_srpms=None
79 - self.common_files = ['beta_eula.txt', 'EULA', 'README', 'GPL', 'RPM-GPG-KEY', 'RPM-GPG-KEY-beta', 'RPM-GPG-KEY-fedora']
80 + self.common_files = ['beta_eula.txt', 'EULA', 'README', 'GPL', 'RPM-GPG-KEY', 'RPM-GPG-KEY-beta', 'RPM-GPG-KEY-PLD']
84 diff -ur anaconda-11.2.0.24.org/scripts/yumcache anaconda-11.2.0.24/scripts/yumcache
85 --- anaconda-11.2.0.24.org/scripts/yumcache 2007-01-30 22:55:56.000000000 +0100
86 +++ anaconda-11.2.0.24/scripts/yumcache 2007-02-20 18:24:43.130623000 +0100
91 -distroverpkg=redhat-release
96 diff -ur anaconda-11.2.0.24.org/yuminstall.py anaconda-11.2.0.24/yuminstall.py
97 --- anaconda-11.2.0.24.org/yuminstall.py 2007-02-13 14:56:08.000000000 +0100
98 +++ anaconda-11.2.0.24/yuminstall.py 2007-02-20 18:26:50.814623000 +0100
100 self.conf.reposdir="/tmp/repos.d"
101 self.conf.logfile="/tmp/yum.log"
102 self.conf.obsoletes=True
103 - self.conf.exclude=["*debuginfo*"]
104 + self.conf.exclude=["*debuginfo*", "vserver-packages"]
106 self.conf.cachedir = '/tmp/cache/'
107 self.conf.metadata_expire = 0
108 @@ -1269,7 +1269,7 @@
109 # Figure out current version for upgrade nag and for determining weird
111 supportedUpgradeVersion = -1
112 - for pkgtup in self.ayum.rpmdb.whatProvides('redhat-release', None, None):
113 + for pkgtup in self.ayum.rpmdb.whatProvides('issue', None, None):
114 n, a, e, v, r = pkgtup
115 if supportedUpgradeVersion <= 0:
116 val = rpmUtils.miscutils.compareEVR((None, '3', '1'),