Fix crosssdk image creation 11/8411/1
authorRonan Le Martret <ronan.lemartret@iot.bzh>
Tue, 31 Jan 2017 15:08:03 +0000 (16:08 +0100)
committerRonan Le Martret <ronan.lemartret@iot.bzh>
Tue, 31 Jan 2017 15:12:05 +0000 (16:12 +0100)
 * 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: I106423fd9e10e95bd63503ca39921521cd5253f6
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
meta-agl/recipes-ivi/images/agl-image-ivi-crosssdk.bb

index 1044620..9a1695b 100644 (file)
@@ -10,3 +10,8 @@ IMAGE_FEATURES += "dev-pkgs"
 IMAGE_INSTALL += "kernel-dev"
 
 inherit populate_sdk
+
+# 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