mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
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. (From OE-Core rev: 9ec8b99470ed744c8eca0b23f99ba54210984080) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
d7cd2e6f52
commit
3f6f82abab
@@ -10,7 +10,7 @@ IMAGE_PKGTYPE ?= "rpm"
|
|||||||
|
|
||||||
RPM = "rpm"
|
RPM = "rpm"
|
||||||
RPMBUILD = "rpmbuild"
|
RPMBUILD = "rpmbuild"
|
||||||
RPMBUILD_COMPMODE ?= "${@'w19T%d.zstdio' % int(d.getVar('ZSTD_THREADS'))}"
|
RPMBUILD_COMPMODE ?= "${@'w3T%d.zstdio' % int(d.getVar('ZSTD_THREADS'))}"
|
||||||
|
|
||||||
PKGWRITEDIRRPM = "${WORKDIR}/deploy-rpms"
|
PKGWRITEDIRRPM = "${WORKDIR}/deploy-rpms"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user