From 694a15382fe9f3749ffdc0168a6dc2da8a29ae2d Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Mon, 10 Jun 2013 13:46:40 -0700 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/copyleft_compliance.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/classes') 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 () { } addtask prepare_copyleft_sources after do_fetch before do_build +do_prepare_copyleft_sources[dirs] = "${WORKDIR}" do_build[recrdeptask] += 'do_prepare_copyleft_sources' -- cgit v1.2.3