commit:     00c77c332fe93ca295ca1ac7a20f7b317d4936a7
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  4 16:39:26 2015 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Fri Dec  4 16:39:56 2015 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=00c77c33

targets/livecd-stage2.py: Remove the set_source_path()

This is not needed and overrides the stagebase method which handles the 
auto-extension.

 catalyst/targets/livecd_stage2.py | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/catalyst/targets/livecd_stage2.py 
b/catalyst/targets/livecd_stage2.py
index 7d9919b..ed5aafa 100644
--- a/catalyst/targets/livecd_stage2.py
+++ b/catalyst/targets/livecd_stage2.py
@@ -36,19 +36,6 @@ class livecd_stage2(StageBase):
 
                file_locate(self.settings, ["cdtar","controller_file"])
 
-       def set_source_path(self):
-               
self.settings["source_path"]=normpath(self.settings["storedir"]+"/builds/"+self.settings["source_subpath"])
-               if os.path.isfile(self.settings["source_path"]):
-                       self.settings["source_path_hash"] = \
-                               self.settings["hash_map"].generate_hash(
-                                       self.settings["source_path"])
-               else:
-                       
self.settings["source_path"]=normpath(self.settings["storedir"]+"/tmp/"+self.settings["source_subpath"])
-               if not os.path.exists(self.settings["source_path"]):
-                       raise CatalystError("Source Path: " +
-                               self.settings["source_path"] + " does not 
exist.",
-                                       print_traceback=True)
-
        def set_spec_prefix(self):
                self.settings["spec_prefix"]="livecd"
 

Reply via email to