diff options
author | Christopher Larson <chris_larson@mentor.com> | 2013-06-10 13:46:40 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-11 16:16:02 +0100 |
commit | 126844d0e11e77110c715b917e34bf22437be8fc (patch) | |
tree | 498b5983b0200e8a66a4ada18688ab6c57c8686d | |
parent | 00c8834293b84a9fa1616de7aace639fc93a81e0 (diff) | |
download | 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>
-rw-r--r-- | 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 adb48bed3b..6b30b876f8 100644 --- a/meta/classes/copyleft_compliance.bbclass +++ b/meta/classes/copyleft_compliance.bbclass | |||
@@ -63,4 +63,5 @@ python do_prepare_copyleft_sources () { | |||
63 | } | 63 | } |
64 | 64 | ||
65 | addtask prepare_copyleft_sources after do_fetch before do_build | 65 | addtask prepare_copyleft_sources after do_fetch before do_build |
66 | do_prepare_copyleft_sources[dirs] = "${WORKDIR}" | ||
66 | do_build[recrdeptask] += 'do_prepare_copyleft_sources' | 67 | do_build[recrdeptask] += 'do_prepare_copyleft_sources' |