Are there any issues with this patch or the oe-selftest in the previous one
that I need to address?

Jose

Jose Quaresma via lists.openembedded.org <quaresma.jose=
[email protected]> escreveu no dia sexta, 14/10/2022 à(s)
16:24:

> From: Jose Quaresma <[email protected]>
>
> STAGING_KERNEL_DIR uses the MACHINE name so it breaks the multiconfig
> and in this cases it will run the shared recipes twice, one for each
> machine.
>
> STAGING_KERNEL_DIR it's been introduced in commit 5487dee2e1
>
> Signed-off-by: Jose Quaresma <[email protected]>
> ---
>  meta/classes/archiver.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
> index 0710c1ec5e..4049694d85 100644
> --- a/meta/classes/archiver.bbclass
> +++ b/meta/classes/archiver.bbclass
> @@ -465,7 +465,7 @@ def is_work_shared(d):
>      pn = d.getVar('PN')
>      return pn.startswith('gcc-source') or \
>          bb.data.inherits_class('kernel', d) or \
> -        (bb.data.inherits_class('kernelsrc', d) and d.getVar('S') ==
> d.getVar('STAGING_KERNEL_DIR'))
> +        (bb.data.inherits_class('kernelsrc', d) and
> d.expand("${TMPDIR}/work-shared") in d.getVar('S'))
>
>  # Run do_unpack and do_patch
>  python do_unpack_and_patch() {
> --
> 2.38.0
>
>
> 
>
>

-- 
Best regards,

José Quaresma
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172581): 
https://lists.openembedded.org/g/openembedded-core/message/172581
Mute This Topic: https://lists.openembedded.org/mt/94730390/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to