Due to lack of task dependency between 'do_removebinaries' and 'do_removecruft'
when both run parallelly sometimes, 'find' in do_removebinaries referring on
directories that sare already removed by do_removecruft.

This change makes sure that both tasks execute sequentially.

Signed-off-by: Amarnath Valluri <amarnath.vall...@intel.com>
---
 recipes-core/ant/ant-native_1.8.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/ant/ant-native_1.8.1.bb 
b/recipes-core/ant/ant-native_1.8.1.bb
index 35b45d6..be65d3b 100644
--- a/recipes-core/ant/ant-native_1.8.1.bb
+++ b/recipes-core/ant/ant-native_1.8.1.bb
@@ -30,7 +30,7 @@ do_removecruft() {
        rm -rf 
${S}/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java
 }
 
-addtask removecruft before do_patch after do_unpack
+addtask removecruft before do_patch after do_removebinaries
 
 do_compile() {
   mkdir -p build
-- 
2.7.4

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to