/[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.1 by slords, Tue Jun 12 17:57:21 2007 UTC Revision 1.2 by slords, Tue Apr 14 14:36:31 2009 UTC
# Line 1  Line 1 
1  diff -uNr anaconda-11.1.2.36__orig/installclasses/rhel.py anaconda-11.1.2.36/installclasses/rhel.py  diff -uNr anaconda-11.1.2.168__orig/installclasses/rhel.py anaconda-11.1.2.168/installclasses/rhel.py
2  --- anaconda-11.1.2.36__orig/installclasses/rhel.py     2007-04-10 10:27:22.000000000 +0100  --- anaconda-11.1.2.168__orig/installclasses/rhel.py    2009-03-05 10:02:20.000000000 +0000
3  +++ anaconda-11.1.2.36/installclasses/rhel.py   2007-04-10 10:28:33.000000000 +0100  +++ anaconda-11.1.2.168/installclasses/rhel.py  2009-03-05 10:06:02.000000000 +0000
4  @@ -42,6 +42,9 @@  @@ -13,6 +13,7 @@
      skipkeytext = N_("If you're unable to locate the Installation Number, "  
                      "for packages not included in your subscription.")  
     
 +    repos = {  
 +             "Packages from CentOS Extras": (None, "http://mirrorlist.centos.org/?release=5&arch=%s&repo=extras" %(rpmUtils.arch.getBaseArch() )) }  
 +  
5    
      def setInstallData(self, anaconda):  
         BaseInstallClass.setInstallData(self, anaconda)  
 diff -uNr anaconda-11.1.2.36__orig/installclasses/rhel.py anaconda-11.1.2.36/installclasses/rhel.py  
 --- anaconda-11.1.2.36__orig/installclasses/rhel.py     2007-04-10 20:21:08.000000000 +0100  
 +++ anaconda-11.1.2.36/installclasses/rhel.py   2007-04-10 20:21:54.000000000 +0100  
 @@ -14,6 +14,8 @@  
6   import logging   import logging
7   log = logging.getLogger("anaconda")   log = logging.getLogger("anaconda")
   
8  +import rpmUtils.arch  +import rpmUtils.arch
9  +  
10   # custom installs are easy :-)   # custom installs are easy :-)
11   class InstallClass(BaseInstallClass):   class InstallClass(BaseInstallClass):
12       # name has underscore used for mnemonics, strip if you dont need it  @@ -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)


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