add skip all function for treeinfo only mods
This commit is contained in:
parent
35e3028fce
commit
03111ba623
2 changed files with 10 additions and 1 deletions
|
@ -252,7 +252,8 @@ class RepoSync:
|
|||
if self.fullrun and self.refresh_extra_files:
|
||||
self.log.warn(Color.WARN + 'A full run implies extra files are also deployed.')
|
||||
|
||||
self.sync(self.repo, sync_root, work_root, log_root, global_work_root, self.arch)
|
||||
if not self.skip_all:
|
||||
self.sync(self.repo, sync_root, work_root, log_root, global_work_root, self.arch)
|
||||
|
||||
if self.fullrun:
|
||||
Shared.deploy_extra_files(self.extra_files, sync_root, global_work_root, self.log)
|
||||
|
|
|
@ -581,6 +581,13 @@ class IsoBuild:
|
|||
'os'
|
||||
)
|
||||
|
||||
kspathway = os.path.join(
|
||||
self.compose_latest_sync,
|
||||
repo,
|
||||
arch,
|
||||
'kickstart'
|
||||
)
|
||||
|
||||
src_to_image = os.path.join(
|
||||
self.lorax_work_dir,
|
||||
arch,
|
||||
|
@ -614,6 +621,7 @@ class IsoBuild:
|
|||
|
||||
try:
|
||||
shutil.copytree(src_to_image, pathway, copy_function=shutil.copy2, dirs_exist_ok=True)
|
||||
shutil.copytree(src_to_image, kspathway, copy_function=shutil.copy2, dirs_exist_ok=True)
|
||||
except:
|
||||
self.log.error('%s already exists??' % repo)
|
||||
|
||||
|
|
Loading…
Reference in a new issue