Hmm, thanks for spotting this, I think that was an oversight on my part.
IMHO i think this patch should apply to cases where {WORKDIR} = {S}. so
i'll make some changes to the patch soon.
Thanks,
Dorinda.
On Wed, Jan 27, 2021 at 6:44 PM Tomasz Dziendzielski <
tomasz.dziendziel...@gmail.com>
>+# Check if PSEUDO_IGNORE_PATHS and ${S} overlap
>+pseudoignorepaths = d.getVar('PSEUDO_IGNORE_PATHS',
expand=True).split(",")
>+sourcefile = d.getVar('S')
>+for i in pseudoignorepaths:
>+if i and sourcefile:
>+if sourcefile.startswith(i) or
added a sanity check for when PSEUDO_IGNORE_PATHS and ${S} overlap to avoid
random failures generated.
[YOCTO #14193]
Signed-off-by: Dorinda Bassey
---
meta/classes/sanity.bbclass | 8
1 file changed, 8 insertions(+)
diff --git a/meta/classes/sanity.bbclass