as this will clear WORKDIR and create race conditions across various handling tasks
Signed-off-by: Konrad Weihmann <kweihm...@outlook.com> --- meta/classes-global/insane.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index 99736830b9..32d3d7637a 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass @@ -1605,10 +1605,13 @@ python () { sourcedir = d.getVar("S") builddir = d.getVar("B") workdir = d.getVar("WORKDIR") + unpackdir = d.getVar("UNPACKDIR") if sourcedir == workdir: bb.fatal("Using S = ${WORKDIR} is no longer supported") if builddir == workdir: bb.fatal("Using B = ${WORKDIR} is no longer supported") + if unpackdir == workdir: + bb.fatal("Using UNPACKDIR = ${WORKDIR} is not supported") if sourcedir[-1] == '/': bb.warn("Recipe %s sets S variable with trailing slash '%s', remove it" % (d.getVar("PN"), d.getVar("S"))) if builddir[-1] == '/': -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#200094): https://lists.openembedded.org/g/openembedded-core/message/200094 Mute This Topic: https://lists.openembedded.org/mt/106423265/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-