[oe-commits] Christopher Larson : copyleft_compliance: set 'dirs' flag on task
git at git.openembedded.org
git at git.openembedded.org
Tue Jun 11 15:09:31 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 694a15382fe9f3749ffdc0168a6dc2da8a29ae2d
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=694a15382fe9f3749ffdc0168a6dc2da8a29ae2d
Author: Christopher Larson <chris_larson at mentor.com>
Date: Mon Jun 10 13:46:40 2013 -0700
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 <chris_larson at mentor.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/copyleft_compliance.bbclass | 1 +
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'
More information about the Openembedded-commits
mailing list