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> wrote: > >+ # 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 i.startswith(sourcefile): > >+ status.addresult("a path included in PSEUDO_IGNORE_PATHS > " + str(i) + " and ${S} (source files) path " + str(sourcefile) + " are > overlapping each other, please set ${S} in your recipe to point to a > different directory. \n") > > Isn't ${S} added to PSEUDO_IGNORE_PATHS almost every time in > meta/classes/base.bbclass? > if os.path.normpath(d.getVar("WORKDIR")) != > os.path.normpath(d.getVar("S")): > d.appendVar("PSEUDO_IGNORE_PATHS", ",${S}") > > Best regards, > Tomasz Dziendzielski >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#147393): https://lists.openembedded.org/g/openembedded-core/message/147393 Mute This Topic: https://lists.openembedded.org/mt/80170967/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-