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

Generate debug information packages #1583

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

jnasselle
Copy link
Member

@jnasselle jnasselle commented May 27, 2022

Related issue
wazuh/wazuh#9913

Description

This PR aims to add debug information packages by default during the generation of Linux, Windows and macOS binaries packages

Tests

  • Build the package in any supported platform
    • Linux
    • Windows
    • macOS
    • Solaris
    • AIX
    • HP-UX
  • Package installation
  • Package upgrade
  • Package downgrade
  • Package remove
  • Package install/remove/install
  • Change added to CHANGELOG.md
  • Tests for Linux RPM
    • Build the package for x86_64
    • Build the package for i386
    • Build the package for armhf
    • Build the package for aarch64
    • %files section is correctly updated if necessary
  • Tests for Linux deb
    • Build the package for x86_64
    • Build the package for i386
    • Build the package for armhf
    • Build the package for aarch64
    • Package install/remove/install
    • Package install/purge/install
    • Check file permissions after installing the package
  • Tests for macOS
    • Test the package from macOS Sierra to Mojave
  • Tests for Solaris
    • Test the package on Solaris 10
    • Test the package on Solaris 11
    • Check file permissions on Solaris 11 template
  • Tests for IBM AIX
    • %files section is correctly updated if necessary
    • Check the changes from IBM AIX 5 to 7

Dwordcito and others added 6 commits May 27, 2022 18:23
* Fix error compilation for CentOS 5 and 7, and building docker images CentOS 5 for i386 (#1431)

* Adding configure option in GCC to avoid error compilation in Wazuh.

* Change Dockerfile of CentOS5 to build image of i386 without error and avoid error compilation with GCC.

* Add support for creating a tar.gz file with debugging symbols when creating a package

* Fixed a bug with the order in which parameters are passed to a function in the script.

* Change to support only x86_64 architecture.

* Update run.sh

* Create tar.gz with group and owner group and the version name without v character.

* Rename from {Number version} to v{Number version}
…1452)

* Build the zip file with debug symbols files for the built package.

* Rename an option in the generate_compiled_windows_agent.sh script

* Remove the unnecessary variable, improve the description of a new option in the script, and change the if condition.

* Expanded explanation of the new option in the script.

* Changed description of new option in the generator script.

* Improve explanation.

* Added newline empty and indentation of if condition.
* Add support for RPM/DEB debuginfo packages

* Fix DEBUG on generate_<rpm/debian>_packages.sh

* Several Fixes related to debuginfo packages

- RPM manager/agent change .symbols files privileges
- RPM agent remove arch from Requieres values
- DEB remove symbols from binary package
- DEB change Depends to Conflicts for wazuh-*-dbg packages.
- RPM fix debuginfo package extraction for future packages

* Fixes related to debuginfo packages

- Fix RPM manager subpackage declaration
- Fix DEB manager subpackage to be similar to agent approach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants