/[smeserver]/rpms/anaconda/sme8/anaconda-centos-installclasses-2.patch
ViewVC logotype

Contents of /rpms/anaconda/sme8/anaconda-centos-installclasses-2.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Thu Dec 20 16:17:32 2007 UTC (16 years, 10 months ago) by slords
Branch: MAIN
CVS Tags: anaconda-11_1_2_87-1_el5_sme, anaconda-11_1_2_195-1_el5_sme_1, anaconda-11_1_2_224-1_el5_centos_1, anaconda-11_1_2_195-1_el5_centos, anaconda-11_1_2_168-1_el5_sme_1, anaconda-11_1_2_242-1, anaconda-11_1_2_209-1_el5_sme, anaconda-11_1_2_242-1_el5_sme, anaconda-11_1_2_168-1_el5_centos
Changes since 1.1: +11 -24 lines
Import on branch sme8 of package anaconda-11.1.2.87-1.el5.centos.src.rpm

1 diff -uNr anaconda-11.1.2.87__orig/installclasses/rhel.py anaconda-11.1.2.87/installclasses/rhel.py
2 --- anaconda-11.1.2.87__orig/installclasses/rhel.py 2007-07-12 20:35:46.000000000 +0100
3 +++ anaconda-11.1.2.87/installclasses/rhel.py 2007-11-14 01:08:34.000000000 +0000
4 @@ -17,15 +17,15 @@
5 # custom installs are easy :-)
6 class InstallClass(BaseInstallClass):
7 # name has underscore used for mnemonics, strip if you dont need it
8 - id = "rhel"
9 - name = N_("Red Hat Enterprise Linux")
10 + id = "centos"
11 + name = N_("CentOS Linux")
12 _description = N_("The default installation of %s includes a set of "
13 "software applicable for general internet usage. "
14 "What additional tasks would you like your system "
15 "to include support for?")
16 _descriptionFields = (productName,)
17 sortPriority = 10000
18 - allowExtraRepos = False
19 + allowExtraRepos = True
20 if 0: # not productName.startswith("Red Hat Enterprise"):
21 hidden = 1
22
23 diff -uNr anaconda-11.1.2.87__orig/installclasses/rhel.py anaconda-11.1.2.87/installclasses/rhel.py
24 --- anaconda-11.1.2.87__orig/installclasses/rhel.py 2007-11-14 01:13:08.000000000 +0000
25 +++ anaconda-11.1.2.87/installclasses/rhel.py 2007-11-14 01:20:52.000000000 +0000
26 @@ -75,25 +75,6 @@
27 dispatch.skipStep("partition")
28 dispatch.skipStep("regkey", skip = 0)
29
30 - # for rhel, we're putting the metadata under productpath
31 - def getPackagePaths(self, uri):
32 - rc = {}
33 - for (name, path) in self.repopaths.items():
34 - if not type(uri) == types.ListType:
35 - uri = [uri,]
36 - if not type(path) == types.ListType:
37 - path = [path,]
38 -
39 - lst = []
40 - for i in uri:
41 - for p in path:
42 - lst.append("%s/%s" % (i, p))
43 -
44 - rc[name] = lst
45 -
46 - log.info("package paths is %s" %(rc,))
47 - return rc
48 -
49 def handleRegKey(self, key, intf, interactive = True):
50 self.repopaths = { "base": "%s" %(productPath,) }
51 self.tasks = self.taskMap[productPath.lower()]

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed