aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-platform/images
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-01-31 16:07:59 +0100
committerRonan Le Martret <ronan.lemartret@iot.bzh>2017-01-31 16:07:59 +0100
commitccde8887c2f89f09a15b8b09268823c7af7ce449 (patch)
treef58089a1c1407d7c09545dc139615c6be3ca4648 /recipes-platform/images
parent853bd2c5ee8fb08c8654b1a07e154b66972b49ab (diff)
Fix crosssdk image creation
* Task do_populate_sdk and do_rootfs can't be exec simultaneously. * Both exec "createrepo" on the same directory, and so one of them * can failed (randomly). Change-Id: I72d2b5dce49bfdab41e9882c5c67b8541327551e Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'recipes-platform/images')
-rw-r--r--recipes-platform/images/agl-demo-platform-crosssdk.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-platform/images/agl-demo-platform-crosssdk.bb b/recipes-platform/images/agl-demo-platform-crosssdk.bb
index e6225be0d..976501575 100644
--- a/recipes-platform/images/agl-demo-platform-crosssdk.bb
+++ b/recipes-platform/images/agl-demo-platform-crosssdk.bb
@@ -10,3 +10,8 @@ IMAGE_FEATURES_append = "dev-pkgs"
IMAGE_INSTALL_append = "kernel-dev"
inherit populate_sdk populate_sdk_qt5
+
+# Task do_populate_sdk and do_rootfs can't be exec simultaneously.
+# Both exec "createrepo" on the same directory, and so one of them
+# can failed (randomly).
+addtask do_populate_sdk after do_rootfs