From c3127c51d8cbdf9cdca450818ebd4506946e221c Mon Sep 17 00:00:00 2001 From: Federico Gustavo Galland <99492720+f-galland@users.noreply.github.com> Date: Fri, 12 Jan 2024 08:17:17 -0300 Subject: [PATCH] Add missing tools and files back into Wazuh Indexer packages (#117) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add remove files function to assemble.sh * Remove unneeded files on assembled tar packages * Remove duplicated function Fix wrong variable assignment * Adding function to package Wazuh`s tools to assemble.sh * Make the files' versions follow the repo's VERSION file * Fix download of Wazuh tools for packages assembly --------- Signed-off-by: Álex Ruiz Co-authored-by: Álex Ruiz --- scripts/assemble.sh | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/scripts/assemble.sh b/scripts/assemble.sh index b64d987a72a04..9f25c304808b4 100755 --- a/scripts/assemble.sh +++ b/scripts/assemble.sh @@ -172,6 +172,21 @@ function remove_unneeded_files() { rm "$PATH_PLUGINS/opensearch-security/tools/install_demo_configuration.sh" } +# ==== +# Add additional tools into packages +# ==== +function add_wazuh_tools() { + local version + version=$(