diff options
author | Jeremy Katz <katzj@redhat.com> | 2009-08-14 11:50:23 -0400 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2009-08-14 11:50:23 -0400 |
commit | 7e292f6e332db078a5be7fe81b53aed26d021490 (patch) | |
tree | c935afb303fcc0c2b4fd00922f1e833f6b012076 /livecd.py | |
parent | 1fbf3c9d8d550fc01ae34528533377adc19d1611 (diff) | |
download | anaconda-7e292f6e332db078a5be7fe81b53aed26d021490.tar.gz anaconda-7e292f6e332db078a5be7fe81b53aed26d021490.tar.xz anaconda-7e292f6e332db078a5be7fe81b53aed26d021490.zip |
Be sure we have a sorted list of mountpoints for live mangling (#504986)
We need to have a sorted list of mountpoints so that our tree of mounts
ends up being correct. This got ost in the translation to the new storage
code
Diffstat (limited to 'livecd.py')
-rw-r--r-- | livecd.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -257,7 +257,8 @@ class LiveCDCopyBackend(backend.AnacondaBackend): # now create a tree so that we know what's mounted under where fsdict = {"/": []} - for entry in anaconda.id.storage.fsset.mountpoints.itervalues(): + for mount in sorted(anaconda.id.storage.fsset.mountpoints.keys()): + entry = anaconda.id.storage.fsset.mountpoints[mount] tocopy = entry.format.mountpoint if tocopy.startswith("/mnt") or tocopy == "swap": continue |