diff options
author | Chris Lumens <clumens@redhat.com> | 2009-12-18 16:37:51 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-02-04 14:07:30 -0500 |
commit | 479defc726e4c1ae665258e7fc80e4ff159698ee (patch) | |
tree | 5a4b196b150c73e5c2dcf3965e63676713de4b86 /anaconda | |
parent | 39a52ed1ddb2c4db05045955ccf9ba6066637807 (diff) | |
download | anaconda-479defc726e4c1ae665258e7fc80e4ff159698ee.tar.gz anaconda-479defc726e4c1ae665258e7fc80e4ff159698ee.tar.xz anaconda-479defc726e4c1ae665258e7fc80e4ff159698ee.zip |
Move upgrade-related data to the Anaconda object.
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.
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -457,9 +457,13 @@ class Anaconda(object): self.reIPLMessage = None self.rescue = False self.rescue_mount = True + self.rootParts = None self.rootPath = "/mnt/sysimage" self.stage2 = None self.updateSrc = None + self.upgrade = flags.cmdline.has_key("preupgrade") + self.upgradeRoot = None + self.upgradeSwapInfo = None # *sigh* we still need to be able to write this out self.xdriver = None |