KSRepoUpdater just responsible for adding / updating repos.
Also this is the easist way to fix local repo issue, as in future
We will generate ks file locally, so we can don't need change build
module much for this issue.
Change-Id: I60fe587b0e716c57c5747a1294ffe95fcedb7955
save=False, ssl_verify=None):
'''build repo str with specified repo options'''
repo_args = ['repo']
- if url.startswith('/') and os.path.exists(url):
+ if url.startswith('/'):
url = 'file:///' + url.lstrip('/')
if user and passwd:
url = SafeURL(url, user, passwd).full