[OE-core] [PATCH 2/2] copyleft_compliance: set 'dirs' flag on task
Christopher Larson
kergoth at gmail.com
Mon Jun 10 20:46:40 UTC 2013
From: Christopher Larson <chris_larson at mentor.com>
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 <chris_larson at mentor.com>
---
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
More information about the Openembedded-core
mailing list