1 |
diff -uNr anaconda-11.1.2.195__orig/installclasses/rhel.py anaconda-11.1.2.195/installclasses/rhel.py |
2 |
--- anaconda-11.1.2.195__orig/installclasses/rhel.py 2009-09-28 22:49:11.000000000 +0000 |
3 |
+++ anaconda-11.1.2.195/installclasses/rhel.py 2009-09-28 22:51:14.000000000 +0000 |
4 |
@@ -14,6 +14,8 @@ |
5 |
import logging |
6 |
log = logging.getLogger("anaconda") |
7 |
|
8 |
+import rpmUtils.arch |
9 |
+ |
10 |
# custom installs are easy :-) |
11 |
class InstallClass(BaseInstallClass): |
12 |
# name has underscore used for mnemonics, strip if you dont need it |
13 |
@@ -57,6 +59,10 @@ |
14 |
skipkeytext = N_("If you cannot locate the Installation Number, consult " |
15 |
"http://www.redhat.com/InstNum/") |
16 |
|
17 |
+ repos = { |
18 |
+ "Packages from CentOS Extras": (None, "http://mirrorlist.centos.org/?release=5&arch=%s&repo=extras" %(rpmUtils.arch.getBaseArch() )) } |
19 |
+ |
20 |
+ |
21 |
def setInstallData(self, anaconda): |
22 |
BaseInstallClass.setInstallData(self, anaconda) |
23 |
BaseInstallClass.setDefaultPartitioning(self, anaconda.id.partitions, |