mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
Support arm packages in pkg-prefer
This commit is contained in:
parent
dd1228c872
commit
9f00759e02
@ -14,8 +14,8 @@ class PackageQueries(dict):
|
|||||||
wanted architecture and if it has a greater version than the current value.
|
wanted architecture and if it has a greater version than the current value.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# map debian arches to common obs arches
|
# map debian and rpm arches to common obs arches
|
||||||
architectureMap = {'i386': ['i586', 'i686'], 'amd64': ['x86_64'], 'ppc64el': ['ppc64le']}
|
architectureMap = {'i386': ['i586', 'i686'], 'amd64': ['x86_64'], 'ppc64el': ['ppc64le'], 'armv6hl': ['armv6l'], 'armv7hl': ['armv7l']}
|
||||||
|
|
||||||
def __init__(self, wanted_architecture):
|
def __init__(self, wanted_architecture):
|
||||||
self.wanted_architecture = wanted_architecture
|
self.wanted_architecture = wanted_architecture
|
||||||
|
Loading…
Reference in New Issue
Block a user