chef / omnibus

Easily create full-stack installers for your project across a variety of platforms.
Apache License 2.0
1.29k stars 296 forks source link

Make RPM packaging use threaded compression #1132

Open deriamis opened 11 months ago

deriamis commented 11 months ago

Description

Because we set _binary_payload on RPM packages, we override the selection of compression algorithm defaults; in this case, we specifically choose a non-threaded compression mode. Unfortunately, this means that compression with any compression algorithm other than GZip can take a very long time. Debian packages, on the other hand, use threaded compression modes by default.

This change forces _binary_payload to use threaded compression modes when selecting an algorithm and compression level.


Maintainers

Please ensure that you check for:

sonarcloud[bot] commented 11 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication