wazuh-packages
wazuh-packages copied to clipboard
Improve macOS installation scripts
Wazuh version | Install type | Action performed | Platform |
---|---|---|---|
4.4.4 | Agent | Install/Upgrade | macOS |
Related issue: https://github.com/wazuh/wazuh-packages/issues/2205
We need to improve the installation scripts in the macOS packages so we can avoid using temporary files to share information between pre and post-install.
Proposed solution: Use pre and post-upgrade scripts.
Update
Separate tasks are currently done in pre-install and post-install scripts between pre-upgrade and post-upgrade.
Create new scripts, build new package, and start testing.
Update 02-02-2024
I am currently gaining a deeper understanding of the issue through research and exploration.
Update 05-02-2024
I have initiated the development phase, concentrating on refining both the preinstall and upgrade scripts. I have pending tests to run and a pull request (PR) to create.
Move to block; this will be addressed in issue 21755.
Switching objective to:
- https://github.com/wazuh/wazuh-packages/issues/2904