[master/rhel7] LiveImageKSPayload skip the parent class setup method (#1010500)
Brian C. Lane
bcl at redhat.com
Fri Sep 20 22:10:43 UTC 2013
From: "Brian C. Lane" <bcl at redhat.com>
LiveImageKSPayload mounts the image itself, so call the ImagePayload
setup method instead.
Resolves: rhbz#1010500
---
pyanaconda/packaging/livepayload.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/packaging/livepayload.py b/pyanaconda/packaging/livepayload.py
index 377dc46..b9a4814 100644
--- a/pyanaconda/packaging/livepayload.py
+++ b/pyanaconda/packaging/livepayload.py
@@ -210,7 +210,8 @@ class LiveImageKSPayload(LiveImagePayload):
def setup(self, storage):
""" Check the availability and size of the image.
"""
- super(LiveImageKSPayload, self).setup(storage)
+ # This is on purpose, we don't want to call LiveImagePayload's setup method.
+ ImagePayload.setup(self, storage)
self._proxies = {}
if self.data.method.proxy:
--
1.8.3.1
More information about the anaconda-patches
mailing list