summaryrefslogtreecommitdiffstats
path: root/upgrade.py
Commit message (Collapse)AuthorAgeFilesLines
* Structure the repo layout so it matches final structure better and make isys ↵Martin Sivak2010-05-311-339/+0
| | | | | | a real Python package. Also updates the build and autotools stuff to work with the new structure
* logging: remove references to "confirminstall" and "confirmupgrade" steps.Ales Kozumplik2010-05-131-1/+0
| | | | | they are not real, they were removed in 2007 with 2079eeee7a0bd7fb5b05e9fb6214a1e3c3d90994.
* logging: remove all references to the "installtype" step.Ales Kozumplik2010-05-131-4/+0
| | | | | | | | | it has been virtually nonexistent for three years, see 9e1a444c46abcfc29c2e44ffd102fcc1eda6289e, 2d90bc12dcc682a7f0ff68e599cbb81a34a0b4a3 and 076c853f50c10203b45a552735f692b13a191bcb. I found out about this when auditing the rawhide logs today.
* Pick up system's clock settings on upgrade. (#570299)Ales Kozumplik2010-03-101-0/+43
| | | | Including timezone and UTC through /etc/adjtime.
* Move storage into the Anaconda class.Chris Lumens2010-02-041-4/+4
|
* Move upgrade-related data to the Anaconda object.Chris Lumens2010-02-041-12/+10
| | | | | | This also removes the hack where upgrade can be True, False, or None in order to test whether we've seen the upgrade screen or not. Instead, it introduces a global value hack. I consider this the slightly cleaner approach.
* Use anaconda.ksdata instead of anaconda.isKickstart.Chris Lumens2010-02-041-2/+2
| | | | | | anaconda.ksdata is only non-None if there's a kickstart file, just like anaconda.isKickstart would be. Therefore, we don't need two variables to test for the same condition.
* Move ksdata to be an attribute on Anaconda.Chris Lumens2010-02-041-3/+3
|
* 'cleardiskssel' typos that made it impossible to run text install.Ales Kozumplik2009-12-221-1/+1
|
* Add an interface to select the fancy filtering UI vs. the regular one.Chris Lumens2009-12-111-0/+1
| | | | | | Most Fedora users don't need to see the advanced filtering UI with all its multipath tabs and advanced storage buttons and search interfaces. So, provide an introductory screen that allows skipping all that stuff.
* Add a step to prompt for the cleardisks UI.Chris Lumens2009-12-111-0/+1
| | | | | | This UI is the screen that allows the user to select which devices will be wiped during installation and which should just be mounted. It also allows selecting which device the bootloader should be installed to.
* Add an early user interface for filtering storage devices.Chris Lumens2009-12-111-0/+1
| | | | | | | | | | This UI allows the user to select which devices they would like to include in the rest of the installation process, sorted out by their types. All devices not checked will never again be referenced by anaconda, though we may see their udev information in the logs from time to time. This UI supports two different ways of looking at things: the simple UI for regular Fedora users with basic devices, and the complex UI with many tabs and filtering options.
* Nothing sets flags.setupFilesystems anymore, so it can go too.Chris Lumens2009-12-031-89/+73
|
* Expose common fsset methods and properties in class Storage.David Cantrell2009-09-031-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Add the following methods and properties to class Storage which map through to FSSet methods, modify existing calls to use the method on class Storage: turnOnSwap() mountFilesystems() umountFilesystems() parseFSTab() mkDevRoot() createSwapFile() fsFreeSpace() mtab mountpoints migratableDevices rootDevice Callers no longer need to pass the Anaconda object to the FSSet methods directly. The method on Storage takes care of that. The mtab() method on FSSet is exposed as a property on Storage. The same is true for fsFreeSpace().
* Import shutil for upgrades (#519011).Chris Lumens2009-08-241-0/+1
|
* Do not offer going back when ugrade root for ks upgrade is not found (#499321)Radek Vykydal2009-08-051-10/+18
| | | | | | | | | | Going back results in traceback which seems not right. Bug 499321 (preupgrade backtrace) has lots of tracebacks with various causes of upgrade root not found - I distincted two groups.: 1) dmraid not detected in f10 (=> installation on 2 disks) while detected in f11 (=> root not found). 2) root considered as non-upgradable (/etc/redhat-release changed by user). Such a broad bug is rather difficult to handle. OTOH we wouldn't get the tracebacks so easy if we just ended with error message (as with the patch).
* Make upgradeany boot option work again (#513227)Radek Vykydal2009-07-301-3/+4
|
* Add support for specifying upgrade partition in ks (#471232)Radek Vykydal2009-07-021-8/+14
| | | | | | | | The support was removed during storage rewrite (commit e1a7fe9887886044b07587b3ec2caa2ff53ebfb2), perhaps because it didn't work before removing anyway (both branches of added if clause did the same thing - see commit 130f1e6ca2b3f46166a302ca21b1df53062383be)
* Remove unused rhpl importsJeremy Katz2009-07-011-3/+0
|
* If /etc/rpm/platform is found, move it out of the way.Chris Lumens2009-06-011-0/+5
|
* We no longer write out /etc/rpm/platform, so don't offer to upgrade it.Chris Lumens2009-06-011-68/+0
|
* fond -> foundChris Lumens2009-05-201-1/+1
|
* Move _resetRpmDb into iutil so we can access it everywhere.Chris Lumens2009-04-301-1/+1
|
* Pass anaconda to storage.FSSet.turnOnSwap.David Lehman2009-04-301-1/+1
| | | | Fixes a traceback on upgrade.
* getReleaseString now lives in the storage module.Chris Lumens2009-04-061-2/+2
|
* Fix typo in upgrade.pyDavid Cantrell2009-03-301-1/+1
| | | | else -> else:
* Take into account i386->i586 when warning on upgrade arch mismatch.Chris Lumens2009-03-271-3/+10
|
* Handle not finding the upgrade root gracefully.Joel Granados Moreno2009-03-271-0/+15
|
* Move most of the parseFSTab logic into its own function.Chris Lumens2009-03-241-4/+5
| | | | | | The purpose of doing this is so we can start to get a better handle on what line causes an error, so the user has some way to tell what they need to change in their /etc/fstab to make it work.
* Let mountFilesystems handling bind mounting /dev (#490772).Chris Lumens2009-03-231-2/+0
|
* Fix several minor bugs preventing upgrade/rescue mount. (#488946)David Lehman2009-03-091-1/+1
|
* Merge branch 'master' into storageDavid Lehman2009-03-041-0/+1
|\ | | | | | | | | | | | | | | | | Conflicts: anaconda fsset.py iutil.py iw/partition_gui.py partedUtils.py
| * reIPL support for s390Mark Hamzy2009-03-021-0/+1
| | | | | | | | Signed-off-by: David Cantrell <dcantrell@redhat.com>
* | Remove doMigrateFilesystems, log storage to tty3.David Lehman2009-02-271-0/+1
| | | | | | | | | | Also let exceptions get raised in turnOnFilesystems for the time being.
* | Lots of minor fixes and cleanups. A non-exhaustive list follows.David Lehman2009-02-271-4/+6
| | | | | | | | | | | | | | | | | | | | | | - 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.
* | Fix whitespace in bindMountDevDirectory.David Lehman2009-02-231-4/+4
| |
* | Updates to make existing code use the new storage module.David Lehman2009-02-231-179/+28
|/
* Encode our upgrade policy in productMatches/versionMatches and enforce it.Chris Lumens2009-02-161-4/+2
| | | | | | | For Fedora, this means we will not allow upgrades of detected root filesystems more than two releases old, or "upgrading" a newer install with an older one. For RHEL, we don't yet know what to do so just allow things to continue as they always have. Using "upgradeany" still circumvents this check.
* Rewrite iscsi code using libiscsiHans de Goede2009-02-111-0/+3
| | | | | | | | | | | | | | | | | | | This patch replaces the iscsi.py code with new code using libiscsi, getting rid of the awefull configfile mangling to set auth info hack, and in general making it much cleaner. Fixes: -Report error when we cannot add a disk instead of silently failing (461830) -Report error when trying to use iscsi from kickstart without having an iscsiname directive first (463156) -Better feedback while scanning iscsi disks -Make ibft work with chap and 2-way chap -Make ibft configured disks available for upgrades and in rescue mode -Make ibft boot work even when iscsi-initiator-utils is installed after the kernel in the transaction Note: libiscsi is available in Fedora now
* Add support for specifying which partition to upgrade (atodorov, #471232).Chris Lumens2009-01-071-1/+9
|
* Update partedUtils.py:findExistingRootPartitions to return UUID (atodorov).Chris Lumens2009-01-071-1/+1
| | | | | | | | The attached patch updates findExistingRootPartitions to return dev, fs, release string, label and uuid and fixes all callers to use the 5 tuple. This is required so that later changes to upgrades functionality can fit better in the code. For more background see: https://www.redhat.com/archives/anaconda-devel-list/2008-December/msg00210.html
* Fix various syntax errors caught by PyCheckerHans de Goede2008-10-291-0/+1
| | | | Fix various syntax errors caught by PyChecker
* Use the instroot parameter like we should be doing.Chris Lumens2008-09-191-1/+1
|
* Get rid of the upgrade blacklist since we can use a yum plugin for that.Chris Lumens2008-08-211-16/+0
|
* First crack at upgrade of systems with encrypted block devices. (#437604)David Lehman2008-08-131-8/+8
|
* 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org)Ján ONDREJ2008-06-041-7/+9
| | | | * po/sk.po: Typo fix.
* Log a message if we disable selinux on upgradeJeremy Katz2008-04-081-0/+1
|
* And add nas to the list (#439255)Jeremy Katz2008-04-071-1/+1
|
* Remove gnome-panel too, it's no longer multilib.Jesse Keating2008-04-071-1/+1
|
* Add gnome-applets to the upgrade blacklist, fix kmymoney2 typo.Jesse Keating2008-04-031-1/+1
| | | | | | gnome-applets was multilib in F8 and so many F8 systems will have a 32 and 64 version installed. We want to remove the multilib version upon upgrade.