[OE-core] [PATCH] rpm: make rpm work in toolchain.

Alexander Kanavin alex.kanavin at gmail.com
Tue Sep 10 10:53:08 UTC 2019


On Tue, 10 Sep 2019 at 10:07, Zheng, Ruoqin <zhengrq.fnst at cn.fujitsu.com>
wrote:

> In last patch, I put the config file in meta-environment as its do_install
> task is in the target environment which means the value of ${PACKAGE_ARCHS}
> is right.
>
> And it finally produce a nativesdk package.
>
>
>
> If I put the config file in nativesdk-rpm, the value of ${PACKAGE_ARCHS}
> will always be “all any noarch x86_64-nativesdk” which is not suitable for
> x86, arm and other ARCHS.
>
>
>
> So I’d like to put config file in the rpm of meta-environment. Did you
> have any good Suggestions?
>

You probably need to use the post-relocate-setup.d/ facility, like the
nativesdk-meson recipe does. I am not sure if PACKAGE_ARCHS is accessible
from it, but it does seem like the right mechanism for tweaking settings
that are specific to nativesdk packages.

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190910/6546bc22/attachment.html>


More information about the Openembedded-core mailing list