diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2015-12-15 08:51:43 -0800 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2015-12-15 09:08:38 -0800 |
commit | a0bcc3bda4f7528f91d610de712b29e83eaf3ec0 (patch) | |
tree | 77c7a94eea4a43ced7de1baa3d8fa7f2b4616b62 | |
parent | targets/livecd_stage2.py: Remove the duplicated set_target_path() (diff) | |
download | catalyst-a0bcc3bda4f7528f91d610de712b29e83eaf3ec0.tar.gz catalyst-a0bcc3bda4f7528f91d610de712b29e83eaf3ec0.tar.bz2 catalyst-a0bcc3bda4f7528f91d610de712b29e83eaf3ec0.zip |
targets/livecd_stage1.py: Remove the duplicated set_target_path()
-rw-r--r-- | catalyst/targets/livecd_stage1.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/catalyst/targets/livecd_stage1.py b/catalyst/targets/livecd_stage1.py index 70f92430..aa234b28 100644 --- a/catalyst/targets/livecd_stage1.py +++ b/catalyst/targets/livecd_stage1.py @@ -29,19 +29,6 @@ class livecd_stage1(StageBase): "bind","chroot_setup","setup_environment","build_packages",\ "unbind", "clean","clear_autoresume"] - def set_target_path(self): - self.settings["target_path"]=normpath(self.settings["storedir"]+"/builds/"+self.settings["target_subpath"]) - if "autoresume" in self.settings["options"] \ - and self.resume.is_enabled("setup_target_path"): - log.notice('Resume point detected, skipping target path setup operation...') - else: - # first clean up any existing target stuff - if os.path.exists(self.settings["target_path"]): - cmd("rm -rf "+self.settings["target_path"],\ - "Could not remove existing directory: "+self.settings["target_path"],env=self.env) - self.resume.enable("setup_target_path") - ensure_dirs(self.settings["target_path"]) - def set_spec_prefix(self): self.settings["spec_prefix"]="livecd" |