aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-core/classes/agl-crosssdk.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-core/classes/agl-crosssdk.bbclass')
-rw-r--r--meta-agl-core/classes/agl-crosssdk.bbclass9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-agl-core/classes/agl-crosssdk.bbclass b/meta-agl-core/classes/agl-crosssdk.bbclass
new file mode 100644
index 000000000..5f6dbf303
--- /dev/null
+++ b/meta-agl-core/classes/agl-crosssdk.bbclass
@@ -0,0 +1,9 @@
+IMAGE_FEATURES += "dev-pkgs"
+IMAGE_INSTALL += "kernel-dev kernel-devsrc"
+
+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