From 0fe21342508189fb567a77e6f8d10ec2a9b6503a Mon Sep 17 00:00:00 2001 From: Manuel Date: Mon, 14 Oct 2024 14:19:27 +0200 Subject: [PATCH] feat: added reference to mac OS arm64 WPK --- .../remote-upgrading/wpk-files/create-custom-wpk.rst | 6 +++--- .../remote-upgrading/wpk-files/wpk-list.rst | 7 +++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/source/user-manual/agent/agent-management/remote-upgrading/wpk-files/create-custom-wpk.rst b/source/user-manual/agent/agent-management/remote-upgrading/wpk-files/create-custom-wpk.rst index dd1c17b732..129eb10a08 100644 --- a/source/user-manual/agent/agent-management/remote-upgrading/wpk-files/create-custom-wpk.rst +++ b/source/user-manual/agent/agent-management/remote-upgrading/wpk-files/create-custom-wpk.rst @@ -134,17 +134,17 @@ If the ``-c`` or ``--checksum`` option is used, a file is created containing the macOS WPK ~~~~~~~~~ -To build a WPK for macOS, you need to first download a PKG package of the desired version: +To build a WPK for macOS, you need to first download a PKG package of the desired version, for the intel64 package case: .. code-block:: console - # curl -O https://packages.wazuh.com/4.x/macos/wazuh-agent-|WAZUH_CURRENT_OSX|-|WAZUH_REVISION_OSX|.pkg + # curl -O https://packages.wazuh.com/4.x/macos/wazuh-agent-|WAZUH_CURRENT_OSX|-|WAZUH_REVISION_OSX|.intel64.pkg Run the command below to build a macOS WPK: .. code-block:: console - # ./generate_wpk_package.sh -t macos -b v|WAZUH_CURRENT_OSX| -d / -k / -o wazuh-agent_v|WAZUH_CURRENT_OSX|_macOS.wpk -pn /tmp/wazuh-agent-|WAZUH_CURRENT_OSX|-|WAZUH_REVISION_OSX|.pkg + # ./generate_wpk_package.sh -t macos -b v|WAZUH_CURRENT_OSX| -d / -k / -o wazuh-agent_v|WAZUH_CURRENT_OSX|_macOS.wpk -pn /tmp/wazuh-agent-|WAZUH_CURRENT_OSX|-|WAZUH_REVISION_OSX|.intel64.pkg This script builds a Wazuh |WAZUH_CURRENT_OSX| macOS WPK package named ``wazuh-agent_v|WAZUH_CURRENT_OSX|_macOS.wpk`` and stores it in ``/``. (You can use a destination path of your choice). It does this using the previously generated keys saved in ``/``. diff --git a/source/user-manual/agent/agent-management/remote-upgrading/wpk-files/wpk-list.rst b/source/user-manual/agent/agent-management/remote-upgrading/wpk-files/wpk-list.rst index b1030ab5d2..afdf0dc3d3 100644 --- a/source/user-manual/agent/agent-management/remote-upgrading/wpk-files/wpk-list.rst +++ b/source/user-manual/agent/agent-management/remote-upgrading/wpk-files/wpk-list.rst @@ -36,11 +36,14 @@ Windows macOS ----- -.. |WPK_macOS| replace:: `wazuh_agent_v|WAZUH_CURRENT_OSX|_macos_intel64.pkg.wpk `__ (`sha512 `__) +.. |WPK_macOS_intel64| replace:: `wazuh_agent_v|WAZUH_CURRENT_OSX|_macos_intel64.pkg.wpk `__ (`sha512 `__) +.. |WPK_macOS_arm64| replace:: `wazuh_agent_v|WAZUH_CURRENT_OSX|_macos_arm64.pkg.wpk `__ (`sha512 `__) .. |WAZUH_CUR_OSX| replace:: |WAZUH_CURRENT_OSX| +--------------+---------------------+--------------+---------------------------------------------+ | Distribution | Version | Architecture | WPK Package | +==============+=====================+==============+=============================================+ -| macOS | |WAZUH_CUR_OSX| | 64bit | |WPK_macOS| | +| macOS | |WAZUH_CUR_OSX| | intel64 | |WPK_macOS_intel64| | ++--------------+---------------------+--------------+---------------------------------------------+ +| macOS | |WAZUH_CUR_OSX| | arm64 | |WPK_macOS_arm64| | +--------------+---------------------+--------------+---------------------------------------------+