Skip to content

Commit

Permalink
Added support for arm64v8 architecture.
Browse files Browse the repository at this point in the history
  • Loading branch information
guyco-redis committed Oct 6, 2023
1 parent 1c500b9 commit 7f9e23e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions RAMP/unpacker.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,10 @@ def _validate_metadata(metadata):
reason="Empty module file name",
error_code="module_file_missing")

if metadata["architecture"] != 'x86_64':
if metadata["architecture"] not in {"x86_64", "arm64v8"}:
raise UnpackerPackageError(message=INVALID_METADATA,
reason="Architecture must be 64 bits",
error_code="module_architecture_not_supported",
error_details={'expected': 'x86_64'})
error_code="module_architecture_not_supported")

if not metadata["version"]:
raise UnpackerPackageError(message=INVALID_METADATA,
Expand Down

0 comments on commit 7f9e23e

Please sign in to comment.