gather: handle metalink in kickstart repos
Signed-off-by: Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org>
This commit is contained in:
parent
0ed70fc8b6
commit
9b101d554f
2 changed files with 18 additions and 5 deletions
|
|
@ -52,7 +52,8 @@ class DnfWrapper(dnf.Base):
|
|||
self.arch_wrapper = ArchWrapper(self.conf.substitutions["arch"])
|
||||
self.comps_wrapper = CompsWrapper(self)
|
||||
|
||||
def add_repo(self, repoid, baseurl=None, enablegroups=True, lookaside=False):
|
||||
def add_repo(self, repoid, baseurl=None, enablegroups=True, lookaside=False,
|
||||
**kwargs):
|
||||
self.repos.add_new_repo(
|
||||
repoid,
|
||||
self.conf,
|
||||
|
|
@ -60,6 +61,7 @@ class DnfWrapper(dnf.Base):
|
|||
enabledgroups=enablegroups,
|
||||
priority=10 if lookaside else 20,
|
||||
module_hotfixes=True,
|
||||
**kwargs
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue