]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
package_rpm: use zstd's default compression level
authorAlexander Kanavin <alex@linutronix.de>
Thu, 21 Nov 2024 13:42:41 +0000 (14:42 +0100)
committerSteve Sakoman <steve@sakoman.com>
Fri, 22 Nov 2024 13:42:54 +0000 (05:42 -0800)
commit515fc186d796eaf3bfce41bd17a908ff283242ce
tree50290cee19aa52478ea98ff7630cc3700e45846c
parent60e6fe983c82d8a62fc07d9271d44d0cb072f0fd
package_rpm: use zstd's default compression level

zstd uses 3 by default, while 19 is the highest and slowest.
It's not clear why 19 was picked to begin with, possibly
I copy-pasted it from rpm's examples without thinking:
https://git.yoctoproject.org/poky/commit/?h=master-next&id=4a4d5f78a6962dda5f63e9891825c80a8a87bf66

This brings significant speedups in rpm's compression step:
for example compressing webkitgtk takes 11s instead of 36s.

The rpm size increases from 175648k to 234860k. I think it's
a worthy default tradeoff.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes-global/package_rpm.bbclass