summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-07-24 20:31:20 +0000
committerJeremy Katz <katzj@redhat.com>2006-07-24 20:31:20 +0000
commit252d611ece0a52b58a10c893bd87f557837ea3b6 (patch)
treeba95962b37e80dec683fac1bca2f70db58e76ec6 /installclass.py
parentc08bf557dd26796e78dafe9c51d6cd081ae4f339 (diff)
downloadanaconda-252d611ece0a52b58a10c893bd87f557837ea3b6.tar.gz
anaconda-252d611ece0a52b58a10c893bd87f557837ea3b6.tar.xz
anaconda-252d611ece0a52b58a10c893bd87f557837ea3b6.zip
2006-07-24 Jeremy Katz <katzj@redhat.com>
* yuminstall.py (AnacondaYum.doConfigSetup): Allow having more than one default repo for the installclass (YumBackend._catchallCategory): Fix catchall category * packages.py (regKeyScreen): Add reg key screen. * installclass.py (BaseInstallClass.getPackagePaths): Add method to handle mapping with a URI to the repo paths we want to have (BaseInstallClass.handleRegKey): Method for handling the reg key and validating it * installclasses/rhel.py: Add Red Hat Enterprise Linux installclass. Have it enable the regkey step * installclasses/rhel_as.py: Remove old RHEL class * installclasses/rhel_desktop.py: Likewise. * installclasses/rhel_es.py: Likewise. * installclasses/rhel_ws.py: Likewise. * gui.py (EntryWindow.__init__): Add intf.entryWindow taking advantage of messageWindow stuff. * text.py (InstallInterface.entryWindow): Likewise. * dispatch.py (installSteps): Add regkey step.
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/installclass.py b/installclass.py
index 827432eb2..a6ffde8d1 100644
--- a/installclass.py
+++ b/installclass.py
@@ -52,6 +52,9 @@ class BaseInstallClass:
# don't force text mode
forceTextMode = 0
+ # allow additional software repositories beyond the base to be configured
+ allowExtraRepos = True
+
# by default, place this under the "install" category; it gets it's
# own toplevel category otherwise
parentClass = ( _("Install on System"), "install.png" )
@@ -181,6 +184,15 @@ class BaseInstallClass:
dispatch.skipStep("keyboard", permanent = 1)
dispatch.skipStep("writexconfig", permanent = 1)
+ # modifies the uri from installmethod.getMethodUri() to take into
+ # account any installclass specific things including multiple base
+ # repositories. takes a string, returns a list of strings
+ def getPackagePaths(self, uri):
+ return { "base": uri }
+
+ def handleRegKey(self, key, intf):
+ pass
+
def setPackageSelection(self, anaconda):
pass