summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2013-06-10 13:46:40 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-11 16:16:02 +0100
commit126844d0e11e77110c715b917e34bf22437be8fc (patch)
tree498b5983b0200e8a66a4ada18688ab6c57c8686d /meta
parent00c8834293b84a9fa1616de7aace639fc93a81e0 (diff)
downloadast2050-yocto-poky-126844d0e11e77110c715b917e34bf22437be8fc.zip
ast2050-yocto-poky-126844d0e11e77110c715b917e34bf22437be8fc.tar.gz
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. (From OE-Core rev: 694a15382fe9f3749ffdc0168a6dc2da8a29ae2d) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/copyleft_compliance.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/copyleft_compliance.bbclass b/meta/classes/copyleft_compliance.bbclass
index adb48be..6b30b87 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'
OpenPOWER on IntegriCloud