diff options
author | Paul Nasrat <pnasrat@redhat.com> | 2006-07-07 17:05:56 +0000 |
---|---|---|
committer | Paul Nasrat <pnasrat@redhat.com> | 2006-07-07 17:05:56 +0000 |
commit | e93c3ef69b9ff4bfe55dafb7816186b76ade0ec5 (patch) | |
tree | b5e246ed269825877599c4e27dd92f05be1e9b35 /rescue.py | |
parent | db2bdab2ed860338a01b481cd4e56d479e67ce58 (diff) | |
download | anaconda-e93c3ef69b9ff4bfe55dafb7816186b76ade0ec5.tar.gz anaconda-e93c3ef69b9ff4bfe55dafb7816186b76ade0ec5.tar.xz anaconda-e93c3ef69b9ff4bfe55dafb7816186b76ade0ec5.zip |
PSU, PSU wherefore art though...
rescue.py (runRescue): Move label reading to partedUtils.py.
partedUtils.py (DiskSet.findExistingRootPartitions): Look up
filesystem labels as we find root partitions, as we won't have LVM
active if we wait until later (#196345).
Diffstat (limited to 'rescue.py')
-rw-r--r-- | rescue.py | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -310,12 +310,7 @@ def runRescue(anaconda): scroll = 0 partList = [] - for (drive, fs, relstr) in disks: - try: - label = isys.readFSLabel(drive, makeDevNode=0) - except: - label = None - + for (drive, fs, relstr, label) in disks: if label: partList.append("%s (%s)" % (drive, label)) else: |