[OE-core] [PATCH] dnf: make dnf work in toolchain

Zheng, Ruoqin zhengrq.fnst at cn.fujitsu.com
Tue Sep 17 00:44:32 UTC 2019


Hi Richard

> you can run these with commands like:
> 
> os-selftest -r sstatetests.SStateTests.test_sstate_allarch_samesigs
> 
> Cheers,

Could you tell me what does the oe-selftest  in here test for? Especially what do the signature tests test for?

Thanks
--------------------------------------------------
Zheng Ruoqin
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
ADDR.: No.6 Wenzhu Road, Software Avenue,
       Nanjing, 210012, China
MAIL : zhengrq.fnst at cn.fujistu.com


> -----Original Message-----
> From: Richard Purdie [mailto:richard.purdie at linuxfoundation.org]
> Sent: Monday, September 16, 2019 6:57 PM
> To: Zheng, Ruoqin/郑 若钦 <zhengrq.fnst at cn.fujitsu.com>; openembedded-
> core at lists.openembedded.org
> Subject: Re: [OE-core] [PATCH] dnf: make dnf work in toolchain
> 
> 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
> 
> 





More information about the Openembedded-core mailing list