From: Christopher Larson <[email protected]>

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 <[email protected]>
---
 meta/classes/copyleft_compliance.bbclass | 1 +
 1 file changed, 1 insertion(+)

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'
-- 
1.8.3

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to