mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Handle MacOS's Arch64 architecture when creating the package repository
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
3a10801831
commit
cc915530eb
1 changed files with 2 additions and 0 deletions
|
@ -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}'."
|
||||
|
|
Loading…
Add table
Reference in a new issue