Re: [PATCH] Be sure we have a sorted list of mountpoints for live mangling (#504986)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/livecd.py b/livecd.py
> index d8b2f0b..7efcd90 100644
> --- a/livecd.py
> +++ b/livecd.py
> @@ -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

Looks alright.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux