1 |
diff -uNr anaconda-11.1.2.168__orig/installclasses/rhel.py anaconda-11.1.2.168/installclasses/rhel.py |
2 |
--- anaconda-11.1.2.168__orig/installclasses/rhel.py 2009-03-05 10:02:20.000000000 +0000 |
3 |
+++ anaconda-11.1.2.168/installclasses/rhel.py 2009-03-05 10:06:02.000000000 +0000 |
4 |
@@ -13,6 +13,7 @@ |
5 |
|
6 |
import logging |
7 |
log = logging.getLogger("anaconda") |
8 |
+import rpmUtils.arch |
9 |
|
10 |
# custom installs are easy :-) |
11 |
class InstallClass(BaseInstallClass): |
12 |
@@ -46,6 +47,9 @@ |
13 |
"See http://www.redhat.com/InstNum/ for more information.") |
14 |
skipkeytext = N_("If you cannot locate the Installation Number, consult " |
15 |
"http://www.redhat.com/InstNum/") |
16 |
+ repos = { |
17 |
+ "Packages from CentOS Extras": (None, "http://mirrorlist.centos.org/?release=5&arch=%s&repo=extras" %(rpmUtils.arch.getBaseArch() )) } |
18 |
+ |
19 |
|
20 |
def setInstallData(self, anaconda): |
21 |
BaseInstallClass.setInstallData(self, anaconda) |