/[smeserver]/rpms/anaconda/sme8/anaconda-centos-additional-repos.patch
ViewVC logotype

Diff of /rpms/anaconda/sme8/anaconda-centos-additional-repos.patch

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

Revision 1.2 by slords, Tue Apr 14 14:36:31 2009 UTC Revision 1.4 by slords, Mon May 17 16:15:48 2010 UTC
# Line 1  Line 1 
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.209__orig/installclasses/rhel.py anaconda-11.1.2.209/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.209__orig/installclasses/rhel.py    2010-04-25 04:09:38.807535000 +0000
3  +++ anaconda-11.1.2.168/installclasses/rhel.py  2009-03-05 10:06:02.000000000 +0000  +++ anaconda-11.1.2.209/installclasses/rhel.py  2010-04-25 04:12:42.137535894 +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    @@ -46,6 +48,8 @@
14                        "See http://www.redhat.com/InstNum/ for more information.")                        "See http://www.redhat.com/InstNum/ for more information.")
15       skipkeytext = N_("If you cannot locate the Installation Number, consult "       skipkeytext = N_("If you cannot locate the Installation Number, consult "
16                        "http://www.redhat.com/InstNum/")                        "http://www.redhat.com/InstNum/")
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       def setInstallData(self, anaconda):       def setInstallData(self, anaconda):
21          BaseInstallClass.setInstallData(self, anaconda)          BaseInstallClass.setInstallData(self, anaconda)


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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