From: Christopher Larson Date: Mon, 10 Jun 2013 20:46:40 +0000 (-0700) Subject: copyleft_compliance: set 'dirs' flag on task X-Git-Tag: 2015-4~6231 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=694a15382fe9f3749ffdc0168a6dc2da8a29ae2d;p=openembedded-core.git copyleft_compliance: set 'dirs' flag on task Without this, due to bitbake defaulting to ${B}, it's possible to get ${S} inadvertantly created before do_unpack, breaking the unpack of git sources, which expect the destination to not exist. Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- diff --git a/meta/classes/copyleft_compliance.bbclass b/meta/classes/copyleft_compliance.bbclass index adb48bed3b..6b30b876f8 100644 --- a/meta/classes/copyleft_compliance.bbclass +++ b/meta/classes/copyleft_compliance.bbclass @@ -63,4 +63,5 @@ python do_prepare_copyleft_sources () { } addtask prepare_copyleft_sources after do_fetch before do_build +do_prepare_copyleft_sources[dirs] = "${WORKDIR}" do_build[recrdeptask] += 'do_prepare_copyleft_sources'