Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/mic/utils/bootstrap.py b/mic/utils/bootstrap.py
- index e4f2f59..fdcd0da 100644
- --- a/mic/utils/bootstrap.py
- +++ b/mic/utils/bootstrap.py
- @@ -409,7 +409,7 @@ def build_bootstrap(repoList, mainrepo, cachedir, bootstrapdir, bootstrap_arch =
- """ HACK: This hack is here to enable backward compatibility until the
- .ks files have been updated to support the @ARCH@ option for the URLs."""
- - if bootstrap_target_arch and bootstrap_target_arch.startswith("arm") and repourl.find(bootstrap_target_arch) != -1:
- + if bootstrap_target_arch and bootstrap_target_arch.startswith("arm"):
- pattern = re.compile('/arm.*?/')
- repourl = pattern.sub("/ia32/", repourl)
- get_repo_metadata(repourl, cachedir, reponame, proxies, bootstrap_arch)
Add Comment
Please, Sign In to add comment