src_distribute: force do_fetch execution in do_distribute_sources.
authorChris Larson <clarson@mvista.com>
Thu, 7 May 2009 20:37:09 +0000 (13:37 -0700)
committerChris Larson <clarson@mvista.com>
Wed, 19 Aug 2009 21:54:30 +0000 (14:54 -0700)
Works around src_distribute failures with the use of packaged staging.

Signed-off-by: Chris Larson <clarson@mvista.com>
classes/src_distribute.bbclass

index 3a033b9..7d75c9e 100644 (file)
@@ -5,6 +5,8 @@ addtask distribute_sources before do_build after do_fetch
 python do_distribute_sources () {
        import os, re, bb
 
+       bb.build.exec_func("do_fetch", d)
+
        l = bb.data.createCopy(d)
        bb.data.update_data(l)