diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-05-30 20:56:18 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-05-30 20:56:18 +0000 |
commit | dc29856773071e974cee06e808f8b8ae515bb4b7 (patch) | |
tree | 97c5e606855a5f5c2a67a39aba45031050c440da /upgrade.py | |
parent | 4dffcb60d2d6fa714eea6e07a9ef9b69c422d13a (diff) | |
download | anaconda-dc29856773071e974cee06e808f8b8ae515bb4b7.tar.gz anaconda-dc29856773071e974cee06e808f8b8ae515bb4b7.tar.xz anaconda-dc29856773071e974cee06e808f8b8ae515bb4b7.zip |
argument for upgradeany so that we don't have to care about redhat-release
matchups with rescue mode (reported by notting)
Diffstat (limited to 'upgrade.py')
-rw-r--r-- | upgrade.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/upgrade.py b/upgrade.py index a6314b20b..6cc4e5597 100644 --- a/upgrade.py +++ b/upgrade.py @@ -53,7 +53,7 @@ def findRootParts(intf, id, dispatch, dir, chroot): dispatch.skipStep("findinstall", skip = 1) dispatch.skipStep("installtype", skip = 0) -def findExistingRoots(intf, id, chroot): +def findExistingRoots(intf, id, chroot, upgradeany = 0): if not flags.setupFilesystems: return [(chroot, 'ext2', "")] diskset = partedUtils.DiskSet() @@ -63,7 +63,8 @@ def findExistingRoots(intf, id, chroot): _("Searching for %s installations...") % (productName,), 5) - rootparts = diskset.findExistingRootPartitions(intf, chroot) + rootparts = diskset.findExistingRootPartitions(intf, chroot, + upgradeany = upgradeany) for i in range(1, 6): time.sleep(0.5) win.set(i) |