From: Pavel Zhukov <[email protected]>

> Looks like the regression has been  introduced in  previous update. This 
> patch https://git.openembedded.org/openembedded-core/commit/?h=master-
> next&id=eb3ec7469fff857c819332371ad1d586f43c79c3 (which was reverted 
> by https://git.openembedded.org/openembedded-core/commit/?h=master-next&;
> id=3aba44a75dd565b192f7328f2a0150a313de3cc1 )  solved the issue without 
> bringing bunzip to every system

I see! Good catch! Seem that I am indeed the culprit on this regression.

I have some questions to evaluate the alternatives:

1) Is it OK to change rpm2cpio.sh?

This is a verbatim copy of the upstream version from [1]. If we edit it we take 
the risk of reverting again the changes done in the oe-core copy, changes that 
are hard to track.

2) Is it OK to drag more stuff into HOSTTOOLS?

I do not know the cost, but IMHO it is pretty cheap to populate links in 
HOSTTOOLS *only* if the link does not introduce any new dependency on the host 
machine. In the case of bunzip, unzstd et al. those are already listed in the 
packages that should be installed on the host, so there is no new dependency or 
new package to install.

I think that the safe option is that, for already installed dependencies, it is 
OK to add a new link in "tmp/hosttools", because the risk of changing 
rpm2cpio.sh is that those changes can be discarded accidentally when this 
script gets updated (as I sadly did)

If we do not agree and the first solution is selected, then 
9e14d2ab801e7f35af6d43dd5d071fe29821d27c should be reverted too and more 
changes in rpm2cpio needs to be done.

[1] 
https://github.com/rpm-software-management/rpm/blob/master/scripts/rpm2cpio.sh
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186356): 
https://lists.openembedded.org/g/openembedded-core/message/186356
Mute This Topic: https://lists.openembedded.org/mt/100817328/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to