diff options
author | 2015-12-04 08:39:26 -0800 | |
---|---|---|
committer | 2015-12-04 08:39:56 -0800 | |
commit | 00c77c332fe93ca295ca1ac7a20f7b317d4936a7 (patch) | |
tree | dd6d39bb03b5c0be4aee6b788599b38d9b22719f /catalyst/targets | |
parent | main: take argv as an argument (diff) | |
download | catalyst-00c77c332fe93ca295ca1ac7a20f7b317d4936a7.tar.gz catalyst-00c77c332fe93ca295ca1ac7a20f7b317d4936a7.tar.bz2 catalyst-00c77c332fe93ca295ca1ac7a20f7b317d4936a7.zip |
targets/livecd-stage2.py: Remove the set_source_path()
This is not needed and overrides the stagebase method which handles the auto-extension.
Diffstat (limited to 'catalyst/targets')
-rw-r--r-- | catalyst/targets/livecd_stage2.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/catalyst/targets/livecd_stage2.py b/catalyst/targets/livecd_stage2.py index 7d9919b8..ed5aafa9 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" |