aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/meta/package-index.bb
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2009-06-17 23:22:57 +0400
committerRoman I Khimov <khimov@altell.ru>2009-06-19 00:15:08 +0400
commit5f920c841a4d83fb903ccdf9127cb0fb5617eda1 (patch)
tree4adc17a542fc6955efdfc6def65e9c9f48467b0c /recipes/meta/package-index.bb
parent68a8be99518c624816d238ee2ebb5e602a4c62ac (diff)
downloadopenembedded-5f920c841a4d83fb903ccdf9127cb0fb5617eda1.tar.gz
Make package_update_index_ipk proper task with locking
Parallel image builds race in package_update_index_ipk, so locking is needed and for a proper lock package_update_index_ipk needs to be a proper task. Acked-by: Tom Rini <trini@embeddedalley.com>
Diffstat (limited to 'recipes/meta/package-index.bb')
-rw-r--r--recipes/meta/package-index.bb6
1 files changed, 1 insertions, 5 deletions
diff --git a/recipes/meta/package-index.bb b/recipes/meta/package-index.bb
index f52fb6c72b..ce8b999e16 100644
--- a/recipes/meta/package-index.bb
+++ b/recipes/meta/package-index.bb
@@ -23,8 +23,4 @@ do_stage() {
do_build[nostamp] = "1"
do_build[dirs] = "${DEPLOY_DIR_IPK}"
-do_build() {
- set -ex
- package_update_index_ipk
- set +ex
-}
+addtask package_update_index_ipk before do_build