[meta-mentor] [PATCH 2/3] copyleft_compliance: set 'dirs' flag on	task
    Michael Brown 
    eichisama at gmail.com
       
    Tue May 14 15:04:34 PDT 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.
JIRA: SB-1121
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
(cherry picked from commit bfca71ec45641185a20680df0a9133b9bdeb9052)
Signed-off-by: Michael Brown <mw_brown at mentor.com>
---
 classes/copyleft_compliance.bbclass |    1 +
 1 file changed, 1 insertion(+)
diff --git a/classes/copyleft_compliance.bbclass b/classes/copyleft_compliance.bbclass
index 1eea1fa..c5cef10 100644
--- a/classes/copyleft_compliance.bbclass
+++ b/classes/copyleft_compliance.bbclass
@@ -108,4 +108,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.7.9.5
    
    
More information about the meta-mentor
mailing list