-
Notifications
You must be signed in to change notification settings - Fork 98
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
Improve macOS installation scripts #2220
Comments
UpdateSeparate 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-2024I am currently gaining a deeper understanding of the issue through research and exploration. Update 05-02-2024I 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: |
UpdateI reviewed the changes introduced at wazuh/wazuh#21755 and have started working on the issue again. |
UpdateI tried to implement a proof of concept, but it didn't work. I created dummy preupgrade and postupgrade scripts, but they weren't called. |
UpdateI was unable to find a way to implement the proposal. After reading this comment, it appears that preflight/postflight/preupgrade/postupgrade functionalities are no longer supported. Therefore, I made some improvements to the scripts, but I still need to test them. |
UpdateMade some more improvements and did some testing. All good to go for review now. |
Related issue: #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.
The text was updated successfully, but these errors were encountered: