summaryrefslogtreecommitdiffstats
path: root/installclass.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'master' of ssh://git.fedorahosted.org/git/anacondaBill Nottingham2008-02-111-1/+1
|\
| * Fix test mode with python-fedora installedJeremy Katz2008-02-051-1/+1
| | | | | | | | | | We need to prepend the installclass path to the pythonpath like we do the rest of our module paths
* | Use /etc/adjtime as the configuration file for UTC/not-UTC.Bill Nottingham2008-02-111-2/+2
|/ | | | Also, remove ARC support while we're here - it's pointless.
* Common GPLv2+ boilerplate on toplevel python source files.David Cantrell2007-12-171-10/+17
| | | | | | 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.
* getBackend expects a methodstr argument.Chris Lumens2007-12-101-1/+1
|
* Fix up the livecd to no longer use an InstallMethod.Chris Lumens2007-12-051-0/+3
|
* methodstr cleanups.Chris Lumens2007-12-051-1/+1
| | | | | | Don't use /mnt/source2 anymore. /mnt/isodir is for image installs to mount whatever contains the images, and /mnt/source is always the source mount point. Also don't use methodstr where we don't have to.
* Begin removing references to anaconda.method and anaconda.methodstr.Chris Lumens2007-12-051-19/+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.
* Remove base InstallMethod class and harddrive.py and urlinstall.py files.Chris Lumens2007-12-051-3/+0
| | | | | | This commit removes the base InstallMethod class without removing the users in other files, so obviously this commit cannot stand alone. installmethod.py and image.py at the very least still need significant changes.
* import isys (#390141)Jeremy Katz2007-11-191-0/+1
|
* no more partitioning.pyJeremy Katz2007-11-061-1/+0
|
* Pass the bootloader --timeout= parameter from pykickstart along to booty.Chris Lumens2007-10-191-1/+9
|
* Lots of minor pychecker error fixes. Some of these are even real problems.Chris Lumens2007-09-191-1/+1
|
* If we did a kickstart install, use the %packages section from the ks fileChris Lumens2007-09-041-1/+1
| | | | instead of creating a new one.
* Add the --only-use option to specify which disks should be used. This is theChris Lumens2007-07-161-2/+8
| | | | opposite operation from ignoredisk --drives (#198526).
* 2007-06-04 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-06-041-1/+2
| | | | | | * installclass.py (BaseInstallClass.setSteps): Permanently skip task selection and group selection if our backend doesn't support package selection (#242083)
* * image.py (CdromInstallMethod.__init__): don't nuke the timestampdlehman2007-06-041-2/+7
| | | | | | | | | | | | when getDiscNums fails * installclass.py (BaseInstallClass.getPackagePaths): make the return dict's values always be lists of URIs * yuminstall.py (AnacondaYum.doConfigSetup): make conf.reposdir a list like in yum * scripts/mk-images: make sure the MBD_FSIMAGE dir doesn't pre-exist
* 2007-04-04 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-04-041-1/+1
| | | | | | | | | * livecd.py (LiveCDImageMethod.postAction): Unmount filesystems in the live case before continuing on. * installclass.py (BaseInstallClass.postAction): Call the method postAction * installmethod.py (InstallMethod.postAction): Add a method to be called in post action for unmounting things in the live case
* 2007-03-23 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-03-231-3/+12
| | | | | * anaconda (getInstClass): Don't duplicate code (Elliot Peele) * installclass.py (getBaseInstallClass): Likewise.
* That comment is no longer relevant.Chris Lumens2007-03-081-3/+1
|
* 2007-03-07 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-03-071-1/+3
| | | | | | | | | | * backend.py (AnacondaBackend.initLog): Don't open the install log twice (Elliot Peele) * installclass.py (availableClasses): Log a warning when there's an error loading an installclass; raise it in debug mode (Elliot Peele) * exception.py: rpm import not used (Elliot Peele)
* Use imputil instead of exec.Chris Lumens2007-02-261-14/+13
|
* * partedUtils.py (openDevices): don't relabel disks that containdlehman2007-02-221-0/+9
| | | | | | | | | | | | | | | | | | | | | | | 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)
* - make the product description actually get translated sanely (rhel bz #216067)Peter Jones2007-02-061-1/+10
|
* Add the postscripts step (#227470).Chris Lumens2007-02-061-0/+1
|
* Don't try to second guess any provided resolution or depth (like from aChris Lumens2007-02-011-19/+0
| | | | kickstart file).
* Remove some unused code.Chris Lumens2007-01-191-3/+0
|
* 2007-01-18 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-01-181-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * syslogd.py (InstSyslog.start): Ensure that we have a syslogd or don't try to start. Otherwise, we end up hanging things * yuminstall.py (YumBackend.__init__): yum installs can do package selection * livecd.py: Add live CD image copy backend and install method. * installclasses/fedora.py: Handle installclass API changes; allow livecd method * installclass.py (BaseInstallClass.setSteps): Take anaconda instead of dispatch as an argument; use so that the backend upgrade allowing + package selection can work (BaseInstallClass.setDefaultPartitioning): Make it easier to default to no-LVM * kickstart.py (Kickstart.setSteps): Tweak for calling change * upgradeclass.py (InstallClass.setSteps): Likewise. * installclasses/rhel.py (InstallClass.setSteps): Likewise. * anaconda: Pass anaconda to instClass.setSteps; don't depend on the existence of /mnt/runtime/... with x_already_set * backend.py (AnacondaBackend.__init__): Let the backend define whether or not upgrades are supported (AnacondaBackend.doPreInstall): postInstall kills the log, start it in the pre (AnacondaBackend.initLog): Ensure the dir we want to use exists (writeConfiguration): Write instdata before backend bits
* 2007-01-18 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-01-181-0/+24
| | | | | | | | | | | | * installclasses/fedora.py: Implement getMethod/getBackend * installclasses/rhel.py: Likewise. * anaconda (Anaconda.setMethod): Use installclass to determine method (Anaconda.setBackend): And backend * installclass.py (BaseInstallClass.getMethod): Add a method to parse the method str and return an InstallMethod constructor (BaseInstallClass.getBackend): For backend as well
* * anaconda (__main__): Pass reference to anaconda object to InstallData.David Cantrell2006-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fsset.py (readFstab): Take reference to anaconda object rather than a path and intf. Pass anaconda reference to DiskSet(). * fssey.py (__main__): Removed. * installclass.py (BaseInstallClass): Pass anaconda reference to the reset() method for InstallData. * instdata.py (InstallData.reset): Take anaconda object reference as parameter. Pass anaconda to DiskSet(). * instdata.py (InstallData.__init__): Take anaconda object ref as parameter, pass it to reset() method. * kickstart.py (AnacondaKSHandlers): Store anaconda object reference, pass to DiskSet() object creations. * partedUtils.py (DiskSet): Take anaconda object reference, store. Use self.anaconda throughout DiskSet object, remove individual pass-ins of intf and other anaconda object parts. * partedUtils.py (DiskSet.dastFmt): Remove -P dasdfmt(8) arg (#218861). * partedUtils.py (DiskSet.openDevices): Remove intf, initAll, zeroMbr, and clearDevs params since those are in the anaconda object. When a kickstart install is running, the dasd found is in the clearpart list, and the --initlabel option has been used, skip the interactive dialog asking if you want to format the DASD and just do it (#218861). * partitioning.py (partitionObjectsInitialize): Removed arguments since the anaconda object provides those now. * upgrade.py (mountRootPartition): Pass anaconda object ref to DiskSet. Only pass anaconda ref to readFstab(). * upgrade.py (upgradeMountFilesystems): Likewise.
* Don't look for the non-existant list of drivers in rhpxl anymore (#217890).Chris Lumens2006-11-301-17/+7
|
* 2006-09-20 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-09-201-6/+0
| | | | | | | * installclass.py: Remove old zfcp stuff * textw/zfcp_text.py: Remove. * iw/zfcp_text.py: Remove.
* 2006-09-19 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-09-191-4/+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.
* 2006-08-23 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-08-231-0/+3
| | | | | | | | | | | | | * iw/task_gui.py: Rework so that we can enable/disable optional repos per install class as well as see what repos have been added * ui/tasksel.glade: Change things up a little bit * installclasses/fedora.py: Tweak description, add Extras as an additional repo * yuminstall.py (AnacondaYum.doConfigSetup): Allow for additional, not enabled by default repos to be set up. * installclass.py (repos): Add not-default repos
* 2006-08-10 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-08-101-5/+27
| | | | | | | | | * installclass.py (getBaseInstallClass): Add a method for finding the default base install class so that I don't copy and paste the code between kickstart and upgrade cases * kickstart.py (Kickstart): Use getBaseInstallClass * upgradeclass.py (InstallClass): Use proper base install class (#201745)
* 2006-08-03 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-08-031-0/+1
| | | | | | | * packages.py (regKeyScreen): Use per-installclass description. * installclass.py: Allow description for reg key to be per-installclass.
* xhwstate -> xserver.hwstate (#200755).Chris Lumens2006-07-311-15/+15
|
* 2006-07-24 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-07-241-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Nuke more unused code.Chris Lumens2006-07-141-8/+1
|
* * iw/iscsi_gui.py: Remove in favor of more integrated way ofJeremy Katz2006-07-131-5/+0
| | | | | | | | | configuring * textw/iscsi_text.py: Likewise. * dispatch.py (installSteps): Remove iscsi step. * installclass.py: Likewise. * gui.py: Likewise. * text.py: Likewise.
* elvis waits no moreDavid Cantrell2006-05-171-2/+0
| | | | | five new files from me to you threads are here to stay
* Removed references to steps that don't exist anymore.David Cantrell2006-05-171-7/+0
|
* Finish making non-UI steps pass around the anaconda object.Chris Lumens2006-05-041-6/+6
|
* Use libuser for handling the root password instead of a bunch of our ownChris Lumens2006-04-111-4/+0
| | | | stuff.
* Trust what driver the user provided if there's no list available. ThisChris Lumens2006-04-041-8/+15
| | | | happens in text kickstart installs using minstg2.img.
* Miscellaneous little cleanups.Chris Lumens2006-04-041-5/+1
|
* Get ready for a surprise...David Cantrell2006-03-241-3/+4
| | | | not really. It's just iutil.getArch() -> rhpl.getArch() updates.
* Create a dictionary in flags.py for storing /proc/cmdline. Nuke allChris Lumens2006-03-221-4/+2
| | | | references to /proc/cmdline from everywhere else in favor of this dict.
* Complain about unknown packages and groupsPaul Nasrat2006-02-171-2/+2
|
* 2006-02-09 Patrick Mansfield <patmans@us.ibm.com>Jeremy Katz2006-02-091-0/+6
| | | | | | | | | | | | | | | | * 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