[PATCH] Unset install_device if repo setup fails
Jesse Keating
jkeating at redhat.com
Fri Aug 24 18:37:09 UTC 2012
We're unsetting method there too, we need to unset the install_device so
that we don't try and mount it later.
---
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()
--
1.7.11.2
More information about the anaconda-patches
mailing list