1 |
slords |
1.4 |
diff -uNr anaconda-11.1.2.209__orig/installclasses/rhel.py anaconda-11.1.2.209/installclasses/rhel.py |
2 |
|
|
--- anaconda-11.1.2.209__orig/installclasses/rhel.py 2010-04-25 04:09:38.807535000 +0000 |
3 |
|
|
+++ anaconda-11.1.2.209/installclasses/rhel.py 2010-04-25 04:12:42.137535894 +0000 |
4 |
slords |
1.3 |
@@ -14,6 +14,8 @@ |
5 |
slords |
1.2 |
import logging |
6 |
|
|
log = logging.getLogger("anaconda") |
7 |
slords |
1.3 |
|
8 |
slords |
1.2 |
+import rpmUtils.arch |
9 |
slords |
1.3 |
+ |
10 |
slords |
1.2 |
# custom installs are easy :-) |
11 |
|
|
class InstallClass(BaseInstallClass): |
12 |
slords |
1.3 |
# name has underscore used for mnemonics, strip if you dont need it |
13 |
slords |
1.4 |
@@ -46,6 +48,8 @@ |
14 |
|
|
"See http://www.redhat.com/InstNum/ for more information.") |
15 |
slords |
1.2 |
skipkeytext = N_("If you cannot locate the Installation Number, consult " |
16 |
|
|
"http://www.redhat.com/InstNum/") |
17 |
slords |
1.1 |
+ repos = { |
18 |
|
|
+ "Packages from CentOS Extras": (None, "http://mirrorlist.centos.org/?release=5&arch=%s&repo=extras" %(rpmUtils.arch.getBaseArch() )) } |
19 |
slords |
1.4 |
|
20 |
slords |
1.1 |
def setInstallData(self, anaconda): |
21 |
|
|
BaseInstallClass.setInstallData(self, anaconda) |