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