diff options
author | Amarnath Valluri <amarnath.valluri@intel.com> | 2016-10-13 14:25:02 +0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-12-06 16:25:08 -0200 |
commit | a265b31ec7d022be254abdf959360a7624208585 (patch) | |
tree | 42f7710387673416e03cd389bdd2b04ab07bc3ff | |
parent | 97f81e65843dd1e01c55cae528fd766dd13a265d (diff) | |
download | meta-java-a265b31ec7d022be254abdf959360a7624208585.tar.gz |
ant-native: Fix random build failure
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.valluri@intel.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r-- | recipes-core/ant/ant-native_1.8.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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() { | |||
30 | rm -rf ${S}/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java | 30 | rm -rf ${S}/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java |
31 | } | 31 | } |
32 | 32 | ||
33 | addtask removecruft before do_patch after do_unpack | 33 | addtask removecruft before do_patch after do_removebinaries |
34 | 34 | ||
35 | do_compile() { | 35 | do_compile() { |
36 | mkdir -p build | 36 | mkdir -p build |