summaryrefslogtreecommitdiffstats
path: root/dispatch.py
Commit message (Collapse)AuthorAgeFilesLines
* We no longer write out /etc/rpm/platform, so don't offer to upgrade it.Chris Lumens2009-06-011-2/+1
|
* Merge branch 'master' into storageDavid Lehman2009-03-041-0/+3
|\ | | | | | | | | | | | | | | | | Conflicts: anaconda fsset.py iutil.py iw/partition_gui.py partedUtils.py
| * reIPL support for s390Mark Hamzy2009-03-021-0/+3
| | | | | | | | Signed-off-by: David Cantrell <dcantrell@redhat.com>
* | Lots of minor fixes and cleanups. A non-exhaustive list follows.David Lehman2009-02-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | - Change minsize/maxsize to minSize/maxSize since that's the convention elsewhere throughout the code. - Redirect output from all external utilities to tty5, not /dev/null. - Don't waste calls to basename for debug log statements, especially when the device can be None. - Add lots of missing imports. - Fix lots of remnants of previous code usage.
* | Remove obsolete import from autopart.David Lehman2009-02-231-1/+0
| |
* | Updates to make existing code use the new storage module.David Lehman2009-02-231-5/+5
|/
* Fix systemtime setting during installation (#6175, #461526).Radek Vykydal2009-02-031-1/+1
| | | | | | | Moves setuptime step into earliear stage to create files with correct timestamp (prevent future time skew after boot). Includes /usr/share/zoneinfo tree in stage 2, it is needed when hw clock is in localtime (for hwclock --hctosys call).
* Select packages after repos are set up (#457583)Jeremy Katz2008-09-291-1/+1
| | | | | | | | | | Set up which packages are actually selected after you've done your repo configuration so that we don't have packages set to be installed from repos which no longer exist. To do this, we switch to using whether or not the group is default rather than selecting/deselecting groups in task selection. Then, move the base package selecting to be later
* Do repo setup and sack setup as separate steps.Chris Lumens2008-09-031-2/+2
| | | | | | | | This fixes a bug where yum wants all the repos set up before it does sack setup that only appears with the blacklist/whiteout plugins enabled. It also brings us more in line with how yum really works - where the two are completely separate steps. backend.doRepoSetup has also been renamed to backend.doBackendSetup to sound a little less yum-specific.
* Skip networkDeviceCheck in dispatch.pyDavid Cantrell2008-08-271-2/+0
| | | | Don't need this step anymore.
* Move betanag to after keyboard and language are setup.Chris Lumens2008-08-121-1/+1
|
* 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org)Ján ONDREJ2008-06-041-2/+0
| | | | * po/sk.po: Typo fix.
* Remove advanced bootloader bitsJeremy Katz2008-02-221-1/+0
|
* Move migration to before mounting filesystemsJeremy Katz2008-02-121-2/+2
| | | | | By migrating before we enable filesystems, we can actually mount as the migration target. This helps a lot for ext4
* Move more interactive steps ahead of partitioning.Chris Lumens2008-01-181-4/+4
|
* Clean up typos and other things for GPLv2+ changes.David Cantrell2007-12-171-1/+1
| | | | | | | Shorten 'Red Hat Author(s)' to just 'Author(s)'. Perhaps eventually we'll get an AUTHORS file and will just remove author names from the individual files. Also fixed a type in scripts/dumphdrlist.py where Author was listed twice.
* Common GPLv2+ boilerplate on toplevel python source files.David Cantrell2007-12-171-6/+13
| | | | | | Updated all *.py files to have a uniform GPL boilerplate. Expanded copyright year ranges and listed authors (if they were in the comment section) under the Red Hat Author(s) section.
* Remove confirmation screenJeremy Katz2007-12-051-2/+0
|
* Begin removing references to anaconda.method and anaconda.methodstr.Chris Lumens2007-12-051-1/+0
| | | | | | Remove method references from the Anaconda object, along with various support functions that import methods and return instances of methods. This also removes method instances from the backend.
* Apply partitioning changes immediately after the partitioning step.Jeremy Katz2007-11-291-2/+2
| | | | | | | | | With resizing, we're going to want sooner feedback so move the applying of partitioning changes to immediately after the partitioning step. This lets us also remove the early swap-on logic. Still need to put up some scarier warnings about what's going to happen for people
* * partitions.py: Move partitionObjectsInitialize() andDavid Cantrell2007-10-291-2/+2
| | | | | | | | | | partitioningComplete() from partitioning.py to this file. * partitioning.py: Removed. * dispatch.py: import partitioning -> import partitions * fsset.py: Likewise. * raid.py: Likewise. * iw/autopart_type.py: Likewise.
* Inform user about the arch mismatch and offer to upgrade rpm platformmsivak2007-10-261-1/+2
| | | | | | | | | | | | | | | | | | Bug #217132 2007-10-26 Martin Sivak <msivak@redhat.com> * backend.py (doRepoSetup): Update the platform file if necessary * dispatch.py: Add new step for detecting platform upgrade * flags.py (Flags): Add flag for controlling the rpm platform update * iutil.py (writeRpmPlatform): Now controlled by the updateRpmPlatform flag * upgrade.py: Add isUpgradingArch, queryUpgradeArch and add the upgradearchitecture step (#217132)
* Lots of minor pychecker error fixes. Some of these are even real problems.Chris Lumens2007-09-191-1/+1
|
* Revert change for writing out anaconda-ks.cfg earlier since this isn't possibleChris Lumens2007-09-191-1/+1
| | | | on livecd.
* Write out anaconda-ks.cfg earlier (#292571).Chris Lumens2007-09-181-1/+1
|
* * partedUtils.py (openDevices): don't relabel disks that containdlehman2007-02-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | protected partitions (#220331) * autopart.py (doClearPartAction): clear all non-protected partitions from disks that contain a protected partition IFF initAll is set * partedUtils.py (hasProtectedPartitions): new method to check if a drive contains protected partitions * packages.py (writeRegKey): method to write out regkey * dispatch.py: add writeregkey step * installclass.py (BaseInstallClass): add regkey fields and step * instdata.py: include regkey settings in anaconda-ks.cfg * packages.py (regKeyScreen): allow access to regkey screen while moving backwards (#219361) * installclasses/rhel.py: add support for real regkeys (via instnum)
* Kickstart is no longer an install class!Chris Lumens2007-01-191-0/+2
|
* Reverse order of postaction and methodcomplete so source is unmounted on imageChris Lumens2006-11-101-1/+1
| | | | installs before kickstart %post scripts are run (#214677).
* 2006-09-19 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-09-191-1/+0
| | | | | | | | | | | | | | | | | * partitioning.py (partitionObjectsInitialize): Shutdown/startup zfcp devs here * yuminstall.py (YumBackend.doPreInstall): Remove spurious zfcp.conf copy * zfcp.py: Massive reworking to work better with new UI * ui/zfcp-config.glade: ZFCP config dialog * iw/autopart_type.py: Use zfcp config dialog (#204145) * installclass.py (BaseInstallClass.setSteps): Remove explicit zfcp step * dispatch.py (installSteps): Likewise.
* Don't enable the back button if there's only non-interactive steps preceedingChris Lumens2006-08-111-3/+3
| | | | the current one (#197766).
* 2006-07-24 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-07-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * iw/iscsi_gui.py: Remove in favor of more integrated way ofJeremy Katz2006-07-131-1/+0
| | | | | | | | | configuring * textw/iscsi_text.py: Likewise. * dispatch.py (installSteps): Remove iscsi step. * installclass.py: Likewise. * gui.py: Likewise. * text.py: Likewise.
* 2006-06-14 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-06-141-3/+0
| | | | * dispatch.py (installSteps): That wasn't supposed to be committed...
* 2006-06-13 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-06-131-0/+3
| | | | * anaconda.spec: Bump version.
* Yet more direction cleanups.Chris Lumens2006-06-091-5/+5
|
* Set self.dir the right way so the back button works.Chris Lumens2006-05-301-2/+2
|
* Remove anaconda object from installSteps, and have the dispatcher callChris Lumens2006-05-041-80/+72
| | | | the step functions directly instead of using apply.
* Make all UI steps use anaconda class. Add system-config-keyboard shim.Chris Lumens2006-05-041-31/+22
|
* Finish making non-UI steps pass around the anaconda object.Chris Lumens2006-05-041-33/+22
|
* Start to use the anaconda class instead of passing around references toChris Lumens2006-05-031-29/+28
| | | | lots of other objects.
* 2006-03-13 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-03-131-4/+0
| | | | | | | | | | | | | | | | | | * packages.py: Remove some obsolete code, convert a little bit of copyExtraModules (... which needs to be hooked back up) * gui.py: No longer import rpm * yuminstall.py: Add specspo bits here instead * exception.py (dumpException): Remove grpset code. * instdata.py (InstallData.reset): Likewise. 2006-03-13 Matt Wilson <msw@rpath.com> * dispatch.py: Remove obsolete code. * floppy.py: Likewise. * language.py: Likewise. * upgrade.py: Likewise.
* 2006-03-04 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-03-041-1/+1
| | | | | | * backend.py (doPostSelection): Pass direction * dispatch.py (installSteps): Likewise. * yuminstall.py (doPostSelection): Likewise.
* Complain about unknown packages and groupsPaul Nasrat2006-02-171-1/+1
|
* 2006-02-09 Patrick Mansfield <patmans@us.ibm.com>Jeremy Katz2006-02-091-0/+1
| | | | | | | | | | | | | | | | * anaconda: Add handling of iscsi flag * flags.py: Add iscsi flag * installclass.py: Add iscsi step * dispatch.py: Add iscsi step. * gui.py: Add iscsi step. * text.py: Add iscsi step * instdata.py: Add iscsi object * iscsi.py: Add main iscsi code * iw/iscsi_gui.py: Add graphical iSCSI configuration * ui/iscsi-config.glade: Glade-file for iSCSI config * textw/iscsi_text.py: Add text mode iSCSI configuration * scripts/mk-images (SCSIMODS): Add iscsi modules * scripts/upd-instroot: Add iscsi tools
* Remove extra network steps.Chris Lumens2006-02-071-3/+0
|
* 2006-02-06 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-02-071-1/+4
| | | | | | | * backend.py (writeConfiguration): Include writing out instdata so that things like root password, etc all work again (#180310) * dispatch.py (installSteps): Pass id and instPath to writeconfig again
* 2006-02-03 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-02-031-1/+1
| | | | | | | | | | | | | * iw/task_gui.py: Adjust for dynamic set of tasks * ui/tasksel.glade: Don't list tasks in the glade file, they're now auto-generated. * textw/task_text.py (TaskWindow.__call__): Likewise. * dispatch.py (installSteps): Pass new arg to tasksel step * installclasses/fedora.py (tasks): Define set of tasks to show on task selection screen here. * installclass.py (tasks): Parent placeholder.
* That's lame syntax.Chris Lumens2006-02-031-1/+1
|
* Fix arguments to writeConfiguration (#179928).Chris Lumens2006-02-031-1/+1
|
* Implement writeConfiguration (#115714)Paul Nasrat2006-02-021-1/+2
|