On Mon, 2019-09-16 at 14:36 +0800, Zheng Ruoqin wrote:
> We need to configure dnf to use package architecture from yocto build
> system.
>
> Install etc/dnf/vars to ${SDKTARGETSYSROOT} because config file in
> host-sysroot as /opt/poky/2.7+snapshot/sysroots/x86_64-pokysdk-linux
> will be covered by another ARCH which result in previous config
> settings inefficacy.
>
> To resolve it, put config file in target-sysroot like
> /opt/poky/2.7+snapshot/sysroots/core2-64-poky-linux. As each ARCH has
> its own target-sysroot, config file will not be covered.
I'm afraid we can't have target dependencies within nativesdk packages.
This is shown by the fact this patch (and the similar rpm one) cause
selftest failures in the signature tests:
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/381/steps/8/logs/step2d
2019-09-16 00:24:54,670 - oe-selftest - INFO - RESULTS -
sstatetests.SStateTests.test_sstate_allarch_samesigs: FAILED (111.59s)
2019-09-16 00:24:54,670 - oe-selftest - INFO - RESULTS -
sstatetests.SStateTests.test_sstate_nativesdk_samesigs_multilib: FAILED
(144.14s)
2019-09-16 00:24:54,670 - oe-selftest - INFO - RESULTS -
sstatetests.SStateTests.test_sstate_sametune_samesigs: FAILED (161.53s)
you can run these with commands like:
os-selftest -r sstatetests.SStateTests.test_sstate_allarch_samesigs
Cheers,
Richard
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core