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

Linux (RPM/DEB) ARM Package Creation #484

Open
MarcelKemp opened this issue Jan 7, 2025 · 1 comment · May be fixed by #506
Open

Linux (RPM/DEB) ARM Package Creation #484

MarcelKemp opened this issue Jan 7, 2025 · 1 comment · May be fixed by #506
Assignees
Labels
level/task Task issue module/packages Agent packages type/enhancement Enhancement issue

Comments

@MarcelKemp
Copy link
Member

MarcelKemp commented Jan 7, 2025

Parent Issue:

Description

This issue focuses on creating RPM and DEB packages to facilitate the installation of a generic software agent on Linux distributions, targeting ARM architectures. The packages should handle all required dependencies and include pre/post-installation scripts to ensure proper service behavior upon installation.

RPM Package

The RPM package should be compatible with RHEL-based distributions such as RHEL, CentOS, and Fedora. It must handle dependencies efficiently and include pre/post-installation scripts to ensure proper service states.

DEB Package

The DEB package should target Debian-based distributions such as Debian and Ubuntu. Similar to the RPM package, it should handle dependencies and ensure proper service behavior through pre/post-installation scripts.

Functional Requirements

General Requirements

  • Develop both RPM and DEB packages compatible with ARM architectures.
  • Ensure dependencies are managed correctly during installation.
  • Include pre/post-installation scripts for configuring service behavior.

RPM-Specific Requirements

  • Create an RPM spec file for RHEL-based systems.
  • Ensure the service is disabled after installation by default.
  • Test installation, uninstallation, and upgrade workflows.

DEB-Specific Requirements

  • Create a DEB package for Debian-based systems.
  • Ensure the service is disabled after installation by default.
  • Test installation, uninstallation, and upgrade workflows.

Acceptance Criteria

  • Both RPM and DEB packages are successfully built and integrate with native package managers.
  • Installation, uninstallation, and upgrade processes are tested and validated on ARM-based RHEL and Debian distributions.
  • Service states are correctly managed during installation and removal processes.
@mjcr99
Copy link
Member

mjcr99 commented Jan 14, 2025

Update

(14/01/2025) Set up development environment, checking package building availability and needed related development.
(15/01/2025) Packages can be built adding some additional dependencies to the Dockerfile, but remote binary caching is not able to be set so far, this problem must be investigated.
(17/01/2025) Opened PR with the needed changes. Found a problem regarding the GHA token, it lacks permission to upload new dependencies for the new architecture.
(20/01/2025) Verified token problem, pending to solve it.

@wazuhci wazuhci moved this to In progress in XDR+SIEM/Release 5.0.0 Jan 15, 2025
@mjcr99 mjcr99 linked a pull request Jan 16, 2025 that will close this issue
@wazuhci wazuhci moved this from In progress to On hold in XDR+SIEM/Release 5.0.0 Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue module/packages Agent packages type/enhancement Enhancement issue
Projects
Status: On hold
Development

Successfully merging a pull request may close this issue.

2 participants