-
Notifications
You must be signed in to change notification settings - Fork 89
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
Dev improve rpm generation #28
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added support for different directories, added support to set the number of threads and the release of the package dynamically using rpm threads.
This was referenced Aug 15, 2018
Great job!. Please, create a folder for the temporary files:
In this way, we can run several times the script. Also, include in the output the package path. |
Hi @jesuslinares, done in ad369cb. This commits is pretty similar to this one 49954bd done in #27. Regards, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi team,
in this PR I made a full rework of how the Wazuh packages for RPM based OS are made. Now, everything is built using a Docker image. This Docker image has installed all the necessary packages to compile Wazuh and build a .rpm package.
Also, I made a full rework of the scripts to build the RPM package. Now are more easy to use and easy to maintain. In addition, I add some new cool features. These are the most relevant:
/opt/ossec
. By default, the package will be built to be installed in/var/ossec
.How to use them:
wazuh-manager
package for x86_64:# ./generate_wazuh_rpm.sh -b v3.4.0 -t manager -a x86_64 -j 15 -r 2
.wazuh-agent
package for i386:# ./generate_wazuh_debs.sh -b 3.4 -t agent -a i386
.wazuh-api
package:# ./generate_wazuh_rpm.sh -b v3.4.0 -t api
.Available parameters:
Regards,
Braulio.