forked from sig_core/toolkit
fix: pass extra repos
This commit is contained in:
parent
688ef9c8c2
commit
8b643fd566
@ -102,6 +102,7 @@ class RepoSync:
|
|||||||
self.project_id = rlvars['project_id']
|
self.project_id = rlvars['project_id']
|
||||||
self.repo_renames = rlvars['renames']
|
self.repo_renames = rlvars['renames']
|
||||||
self.repos = rlvars['all_repos']
|
self.repos = rlvars['all_repos']
|
||||||
|
self.extra_repos = rlvars['extra_repos']
|
||||||
self.multilib = rlvars['provide_multilib']
|
self.multilib = rlvars['provide_multilib']
|
||||||
self.repo = repo
|
self.repo = repo
|
||||||
self.extra_files = rlvars['extra_files']
|
self.extra_files = rlvars['extra_files']
|
||||||
|
@ -110,6 +110,7 @@ class IsoBuild:
|
|||||||
self.revision = rlvars['revision']
|
self.revision = rlvars['revision']
|
||||||
self.rclvl = rlvars['rclvl']
|
self.rclvl = rlvars['rclvl']
|
||||||
self.repos = rlvars['iso_map']['lorax']['repos']
|
self.repos = rlvars['iso_map']['lorax']['repos']
|
||||||
|
self.extra_repos = rlvars['extra_repos']
|
||||||
self.repo_base_url = config['repo_base_url']
|
self.repo_base_url = config['repo_base_url']
|
||||||
self.project_id = rlvars['project_id']
|
self.project_id = rlvars['project_id']
|
||||||
self.structure = rlvars['structure']
|
self.structure = rlvars['structure']
|
||||||
@ -202,7 +203,8 @@ class IsoBuild:
|
|||||||
self.current_arch,
|
self.current_arch,
|
||||||
self.compose_latest_sync,
|
self.compose_latest_sync,
|
||||||
self.compose_dir_is_here,
|
self.compose_dir_is_here,
|
||||||
self.hashed
|
self.hashed,
|
||||||
|
self.extra_repos
|
||||||
)
|
)
|
||||||
self.log.info(self.revision_level)
|
self.log.info(self.revision_level)
|
||||||
|
|
||||||
|
@ -947,6 +947,8 @@ class Shared:
|
|||||||
# must be in format URL[,PRIORITY]
|
# must be in format URL[,PRIORITY]
|
||||||
result = []
|
result = []
|
||||||
for idx, candidate in enumerate(extra_repos):
|
for idx, candidate in enumerate(extra_repos):
|
||||||
|
if isinstance(dict, candidate):
|
||||||
|
url, priority = candidate['url'], candidate.get('priority', None)
|
||||||
url, priority = candidate.split(',')
|
url, priority = candidate.split(',')
|
||||||
if not priority:
|
if not priority:
|
||||||
priority = 100
|
priority = 100
|
||||||
|
Loading…
Reference in New Issue
Block a user