Handle MacOS's Arch64 architecture when creating the package repository

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2023-11-28 19:57:12 +00:00 committed by Pedro Algarvio
parent 3a10801831
commit cc915530eb

View file

@ -890,6 +890,8 @@ def _create_onedir_based_repo(
arch = "x86"
elif "-aarch64" in dpath.name.lower():
arch = "aarch64"
elif "-arm64" in dpath.name.lower():
arch = "arm64"
else:
ctx.error(
f"Cannot pickup the right architecture from the filename '{dpath.name}'."