[OE-core] [PATCH 01/27] toaster: add toaster layer configuration file

Alex DAMIAN alexandru.damian at intel.com
Tue Oct 28 14:09:19 UTC 2014


From: Alexandru DAMIAN <alexandru.damian at intel.com>

In managed mode, Toaster tries to discover layers
that are being checked-out on disk.

In base layers, the toasterconf.json file
describes basic configuration file for builds based
on that layer, like default configuration variable
settings, toaster-compatible branches, and the
layerindex URL where the base layer and
compatible layers are listed.

This patch adds toasterconf.json file to the oe core layer.

Signed-off-by: Alexandru DAMIAN <alexandru.damian at intel.com>
---
 meta/conf/toasterconf.json | 71 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)
 create mode 100644 meta/conf/toasterconf.json

diff --git a/meta/conf/toasterconf.json b/meta/conf/toasterconf.json
new file mode 100644
index 0000000..cdc7564
--- /dev/null
+++ b/meta/conf/toasterconf.json
@@ -0,0 +1,71 @@
+{
+    "config": {"MACHINE": "qemux86", "DISTRO": "poky"},
+    "layersources": [
+        {
+            "name": "Poky",
+            "sourcetype": 0,
+            "apiurl": "../../",
+            "branches": ["master"],
+            "layers": [
+                {
+                    "name": "openembedded-core",
+                    "local_path": "meta",
+                    "vcs_url": "remote:origin",
+                    "dirpath": "meta"
+                },
+                {
+                    "name": "meta-yocto",
+                    "local_path": "meta",
+                    "vcs_url": "remote:origin",
+                    "dirpath": "meta-yocto"
+                },
+                {
+                    "name": "meta-yocto-bsp",
+                    "local_path": "meta",
+                    "vcs_url": "remote:origin",
+                    "dirpath": "meta-yocto-bsp"
+                }
+
+            ]
+        },
+        {
+            "name": "OpenEmbedded",
+            "sourcetype": 1,
+            "apiurl": "http://layers.openembedded.org/layerindex/api/",
+            "branches": ["master", "dizzy"]
+        }
+    ],
+    "bitbake" : [
+        {
+            "name": "master",
+            "giturl": "git://git.yoctoproject.org/poky.git",
+            "branch": "dizzy",
+            "dirpath": "bitbake"
+        },
+        {
+            "name": "master",
+            "giturl": "git://git.yoctoproject.org/poky.git",
+            "branch": "master",
+            "dirpath": "bitbake"
+        }
+    ],
+
+    "defaultrelease": "master",
+
+    "releases": [
+        {
+            "name": "master",
+            "description": "Yocto Project master",
+            "bitbake": "master",
+            "branch": "master",
+            "defaultlayers": [ "Poky:openembedded-core", "Poky:meta-yocto", "Poky:meta-yocto-bsp"]
+        },
+        {
+            "name": "dizzy",
+            "description": "Yocto Project 1.7 Dizzy",
+            "bitbake": "master",
+            "branch": "dizzy",
+            "defaultlayers": [ "Poky:openembedded-core", "Poky:meta-yocto", "Poky:meta-yocto-bsp"]
+        }
+    ]
+}
-- 
1.9.1




More information about the Openembedded-core mailing list