Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The agent deploy section should allow the Apple silicon architecture for macOS #5202

Closed
alberpilot opened this issue Feb 9, 2023 · 3 comments · Fixed by #5478, #5570 or #5569
Closed

The agent deploy section should allow the Apple silicon architecture for macOS #5202

alberpilot opened this issue Feb 9, 2023 · 3 comments · Fixed by #5478, #5570 or #5569
Assignees
Labels
level/task Task issue type/enhancement Enhancement issue

Comments

@alberpilot
Copy link
Contributor

alberpilot commented Feb 9, 2023

Epic: wazuh/wazuh#15055

Summary

Wazuh agent will be able to be installed in macOS with Apple silicon processors natively. New installers will be created, so the agent deploy section needs to allow the architecture selection and give a correct link to the corresponding installer.

The package name in the script should be:
wazuh-agent-${VERSION}-${REVISION}.${ARCH}.pkg
Where ARCH can be intel64 or arm64 depending on the selected architecture.

@alberpilot alberpilot added the type/enhancement Enhancement issue label Feb 9, 2023
@gdiazlo gdiazlo added the level/task Task issue label Apr 26, 2023
@havidarou havidarou moved this to Backlog in Release 4.4.3 May 19, 2023
@havidarou havidarou moved this from Backlog to Blocked in Release 4.4.3 May 19, 2023
@wazuhci wazuhci moved this from Blocked to Backlog in Release 4.4.3 May 19, 2023
@havidarou havidarou moved this from Backlog to Blocked in Release 4.4.3 May 19, 2023
@Machi3mfl Machi3mfl linked a pull request May 19, 2023 that will close this issue
@Machi3mfl Machi3mfl removed a link to a pull request May 22, 2023
@asteriscos
Copy link
Member

Design

We are going to add a new architecture button segregating Apple Silicon and Intel. Eg.

image

Important

We still need to define if each architecture script changes when selecting either of them.

Define the installation and start script for:

  • Intel Architecture
  • Apple Silicon Architecture

@giladreich
Copy link

Hi @alberpilot, @asteriscos and @DFolchA, what about FAT Mach-O Package? No plans adding support for Universal Binaries? Can be done with few lipo commands.
Let me know if you need help with this and thank you!

@vikman90
Copy link
Member

Hi @giladreich, our plan initially is to provide one package for each macOS architecture, just as we do with other platforms (refer to Packages list).

IMHO one package per architecture has the advantage of taking up less space and is easily classifiable by a DevOps team.

We are open to proposals, feel free to open an issue as a feature request for this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment