Merge "AArch64 support: api, cli, controllers, drivers"
This commit is contained in:
commit
485618fd5f
@ -73,7 +73,8 @@ class RepositoryApi(object):
|
||||
|
||||
:param config: the configuration
|
||||
:param repotype: the kind of repository(deb, yum, etc)
|
||||
:param repoarch: the architecture of repository (x86_64 or i386)
|
||||
:param repoarch: the architecture of repository
|
||||
(x86_64, i386 or aarch64)
|
||||
"""
|
||||
context = config if isinstance(config, Context) else Context(config)
|
||||
return cls(RepositoryController.load(context, repotype, repoarch))
|
||||
|
@ -56,7 +56,7 @@ class BaseRepoCommand(BaseCommand):
|
||||
'-a',
|
||||
'--arch',
|
||||
type=str,
|
||||
choices=["x86_64", "i386"],
|
||||
choices=["x86_64", "i386", "aarch64"],
|
||||
metavar='ARCHITECTURE',
|
||||
default="x86_64",
|
||||
help='The target architecture.')
|
||||
|
@ -45,7 +45,8 @@ class RepositoryController(object):
|
||||
|
||||
:param context: the context
|
||||
:param driver_name: the name of required driver
|
||||
:param repoarch: the architecture of repository (x86_64 or i386)
|
||||
:param repoarch: the architecture of repository
|
||||
(x86_64, i386 or aarch64)
|
||||
"""
|
||||
if cls._drivers is None:
|
||||
cls._drivers = stevedore.ExtensionManager(
|
||||
|
@ -48,10 +48,12 @@ _OPERATORS_MAPPING = {
|
||||
}
|
||||
|
||||
_ARCHITECTURES = {
|
||||
"aarch64": "arm64",
|
||||
"x86_64": "amd64",
|
||||
"i386": "i386",
|
||||
"source": "Source",
|
||||
"amd64": "x86_64",
|
||||
"arm64": "aarch64",
|
||||
}
|
||||
|
||||
_PRIORITIES = {
|
||||
|
Loading…
Reference in New Issue
Block a user