From 541ee349aa71b13f2f1da1c9dabc8fca256f5cba Mon Sep 17 00:00:00 2001 From: nazunalika Date: Fri, 10 Jun 2022 16:14:22 -0700 Subject: [PATCH] all repo isn't hashed --- iso/py/util/dnf_utils.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/iso/py/util/dnf_utils.py b/iso/py/util/dnf_utils.py index 4354e45..b1fece3 100644 --- a/iso/py/util/dnf_utils.py +++ b/iso/py/util/dnf_utils.py @@ -521,6 +521,12 @@ class RepoSync: os.makedirs(dest_path, exist_ok=True) config_file = open(fname, "w+") for repo in self.repos: + + # The all repo doesn't get hashed. Likely due to how long it takes + # to hash in the first place? + if 'all' in repo: + prehashed = '' + constructed_url = '{}/{}/repo/{}{}/$basearch'.format( self.repo_base_url, self.project_id,