distrepos: support "x86_64_v2" arch
This fixes a KeyError when trying to make a distrepo for the arch "x86_64_v2".
This commit is contained in:
parent
b1e2e4b3af
commit
7e675c1469
1 changed files with 2 additions and 1 deletions
|
|
@ -6220,7 +6220,8 @@ class createDistRepoTask(BaseTaskHandler):
|
||||||
|
|
||||||
archmap = {'s390x': 's390', 'ppc64': 'ppc', 'x86_64': 'i686'}
|
archmap = {'s390x': 's390', 'ppc64': 'ppc', 'x86_64': 'i686'}
|
||||||
compat = {"i386": ("athlon", "i686", "i586", "i486", "i386", "noarch"),
|
compat = {"i386": ("athlon", "i686", "i586", "i486", "i386", "noarch"),
|
||||||
"x86_64": ("amd64", "ia32e", "x86_64", "noarch"),
|
"x86_64": ("amd64", "ia32e", "x86_64", "x86_64_v2", "noarch"),
|
||||||
|
"x86_64_v2": ("amd64", "ia32e", "x86_64", "x86_64_v2", "noarch"),
|
||||||
"ia64": ("ia64", "noarch"),
|
"ia64": ("ia64", "noarch"),
|
||||||
"ppc": ("ppc", "noarch"),
|
"ppc": ("ppc", "noarch"),
|
||||||
"ppc64": ("ppc64p7", "ppc64pseries", "ppc64iseries", "ppc64", "noarch"),
|
"ppc64": ("ppc64p7", "ppc64pseries", "ppc64iseries", "ppc64", "noarch"),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue