summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-01-07 09:56:31 -0500
committerChris Lumens <clumens@redhat.com>2009-01-07 09:57:24 -0500
commit381f98417d8d7880b33dc498e354843a722717d1 (patch)
tree858ddb0ea98711d50e292a5f0ef882a472f7b2e0 /upgrade.py
parent3430f3062daa8c5b85c51030e628c9627b2e30ac (diff)
downloadanaconda-381f98417d8d7880b33dc498e354843a722717d1.tar.gz
anaconda-381f98417d8d7880b33dc498e354843a722717d1.tar.xz
anaconda-381f98417d8d7880b33dc498e354843a722717d1.zip
Update partedUtils.py:findExistingRootPartitions to return UUID (atodorov).
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
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrade.py b/upgrade.py
index 4aee58c7a..43b66f617 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -129,7 +129,7 @@ def findRootParts(anaconda):
anaconda.id.rootParts = findExistingRoots(anaconda)
anaconda.id.upgradeRoot = []
- for (dev, fs, meta, label) in anaconda.id.rootParts:
+ for (dev, fs, meta, label, uuid) in anaconda.id.rootParts:
anaconda.id.upgradeRoot.append( (dev, fs) )
if anaconda.id.rootParts is not None and len(anaconda.id.rootParts) > 0: