On Fri, 2023-10-20 at 12:44 +0000, Niko Mauno via
lists.openembedded.org wrote:
> From: Niko Mauno <niko.ma...@vaisala.com>
> 
> 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
> 
> In order to maintain compatibility with BusyBox introduce new variable
> which can be overridden like:
> 
>   RPM_COMPRESSION = "xz"
> 
> to enable rpm decompression without including the full rpm package in
> the resulting root filesystem.

Is it common for people to need to manipulate rpms on target without
rpm being present using busybox? Do you know if busybox plans to add
zstd support?

As far as I could tell when we looked at this, the rpm world was moving
over to zstd so adding in conditional xz support for a limited use case
probably just creates a maintenance headache going forward as it isn't
something we test or plan to test?

Are you using this on an LTS release or master?

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#189526): 
https://lists.openembedded.org/g/openembedded-core/message/189526
Mute This Topic: https://lists.openembedded.org/mt/102080114/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to