[PATCH] Unset install_device if repo setup fails

David Lehman dlehman at redhat.com
Fri Aug 24 19:35:39 UTC 2012


On Fri, 2012-08-24 at 11:37 -0700, Jesse Keating wrote:
> We're unsetting method there too, we need to unset the install_device so
> that we don't try and mount it later.

ACK

> ---
>  pyanaconda/packaging/yumpayload.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/pyanaconda/packaging/yumpayload.py b/pyanaconda/packaging/yumpayload.py
> index 28f728d..65263bc 100644
> --- a/pyanaconda/packaging/yumpayload.py
> +++ b/pyanaconda/packaging/yumpayload.py
> @@ -378,6 +378,7 @@ reposdir=%s
>  
>              # this preserves the method details while disabling it
>              self.data.method.method = None
> +            self.install_device = None
>          finally:
>              self._yumCacheDirHack()
>  




More information about the anaconda-patches mailing list