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

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

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


Revision 1.3 - (hide annotations) (download)
Sun Oct 6 16:09:18 2013 UTC (11 years, 2 months ago) by wellsi
Branch: MAIN
CVS Tags: anaconda-11_1_2_242-1_el5_sme_1
Changes since 1.2: +6 -7 lines
* Sun Oct 6 2013 Ian Wells <esmith@wellsi.com> 11.1.2.242-1.el5.sme.1
- Update warning about re-formatting attached hard drives [SME: 4788]

1 slords 1.2 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 slords 1.1 # 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 slords 1.2 _description = N_("The default installation of %s includes a set of "
13 slords 1.1 "software applicable for general internet usage. "
14     "What additional tasks would you like your system "
15 slords 1.2 "to include support for?")
16     _descriptionFields = (productName,)
17 slords 1.1 sortPriority = 10000
18     - allowExtraRepos = False
19     + allowExtraRepos = True
20     if 0: # not productName.startswith("Red Hat Enterprise"):
21     hidden = 1
22 wellsi 1.3
23     --- anaconda-11.1.2.242/installclasses/rhel.py 2011-06-27 07:25:06.000000000 -0700
24     +++ anaconda-11.1.2.242/installclasses/rhel1.py 2013-09-17 20:41:35.000000000 -0700
25     @@ -95,25 +95,6 @@
26     map(string.lower, self.inum.get_repos_dict().keys())
27     return name in allowedRepos
28 slords 1.1
29     - # for rhel, we're putting the metadata under productpath
30     - def getPackagePaths(self, uri):
31     - rc = {}
32     - for (name, path) in self.repopaths.items():
33     - if not type(uri) == types.ListType:
34     - uri = [uri,]
35     - if not type(path) == types.ListType:
36     - path = [path,]
37     -
38     - lst = []
39     - for i in uri:
40     - for p in path:
41     - lst.append("%s/%s" % (i, p))
42     -
43     - rc[name] = lst
44     -
45     - log.info("package paths is %s" %(rc,))
46     - return rc
47     -
48     def handleRegKey(self, key, intf, interactive = True):
49     self.repopaths = { "base": "%s" %(productPath,) }
50     self.tasks = self.taskMap[productPath.lower()]

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