Re: [PATCH master] Fix setup of LVs

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

 



Ack.

On Fri, 2010-07-23 at 18:14 -0700, Brian C. Lane wrote:
> NOTE: This fixes rescue mode so that it will now mount LVMs. It is 
> NOTE: likely that this also effected checking for previous installs to
> NOTE: upgrade.
> 
> Patch c4eb76ff3841a656828c0622c57ac0623959a04c delays the LV setup and
> changes how handleVgLvs() is used. It needs to return a True when it
> sets up an LV so that populate() will properly scan them for their
> formats.
> ---
>  pyanaconda/storage/devicetree.py |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/pyanaconda/storage/devicetree.py b/pyanaconda/storage/devicetree.py
> index 6b33a3b..de96de8 100644
> --- a/pyanaconda/storage/devicetree.py
> +++ b/pyanaconda/storage/devicetree.py
> @@ -1440,6 +1440,10 @@ class DeviceTree(object):
>                          % device.format.mapName)
>  
>      def handleVgLvs(self, vg_device):
> +        """ Handle setup of the LV's in the vg_device
> +            return True if an LV was setup
> +            return False if there was an error, or no more LV's to setup
> +        """
>          ret = False
>          vg_name = vg_device.name
>          lv_names = vg_device.lv_names
> @@ -1513,6 +1517,7 @@ class DeviceTree(object):
>                                                     exists=True)
>                  self._addDevice(lv_device)
>                  lv_device.setup()
> +                ret = True
>  
>          return ret
>  


_______________________________________________
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