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:
[X] If this change impacts git cache validity, it bumps the git cache
serial number
[X] If this change impacts compatibility with omnibus-software, the
corresponding change is reviewed and there is a release plan
[X] If this change impacts compatibility with the omnibus cookbook, the
corresponding change is reviewed and there is a release plan
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: