diff options
author | Niko Mauno <niko.mauno@vaisala.com> | 2023-10-21 15:51:14 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-26 15:29:35 +0100 |
commit | 849d29c8553711ed4619b60dd6ffc5020a98c8ce (patch) | |
tree | 8bb64af416ece37f9fa8fccf9c5428fc2d976d5b /meta/classes-global/devshell.bbclass | |
parent | 6df9e7c895a9d4d773ae713f28888407fdf6dbdc (diff) | |
download | poky-849d29c8553711ed4619b60dd6ffc5020a98c8ce.tar.gz |
package_rpm: Allow compression mode override
Commit 4a4d5f78a6962dda5f63e9891825c80a8a87bf66 ("package_rpm: use zstd
instead of xz") changed the rpm package compressor from 'xz' to 'zstd'
which results in decompression failure with BusyBox-provided 'rpm2cpio'
applet and 'rpm' applet when given the '-i' (Install package) option:
rpm2cpio: no gzip/bzip2/xz magic
Introduce a variable which makes it possible to use a different
compression mode, making it possible to override the default value for
example like
RPMBUILD_COMPMODE = "${@'w6T%d.xzdio' % int(d.getVar('XZ_THREADS'))}"
to enable rpm decompression without including the full rpm package in
the resulting root filesystem.
(From OE-Core rev: a40d9258148e28cbee2168c93179cd4c1232fb62)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global/devshell.bbclass')
0 files changed, 0 insertions, 0 deletions