@@ -81,7 +81,7 @@ def checkout_layers(layers, layerdir, d):
print("Fetching layer/tool repositories into {}".format(layerdir))
for r_name in layers:
r_data = layers[r_name]
- repodir = r_data["path"]
+ repodir = r_data.get("path", r_name)
repodirs.append(repodir)
r_remote = r_data['git-remote']
@@ -489,7 +489,7 @@ def are_layers_changed(layers, layerdir, d):
changed = False
for r_name in layers:
r_data = layers[r_name]
- repodir = r_data["path"]
+ repodir = r_data.get("path", r_name)
r_remote = r_data['git-remote']
rev = r_remote['rev']
@@ -10,8 +10,7 @@
},
"branch": "master",
"rev": "master"
- },
- "path": "bitbake"
+ }
},
"openembedded-core": {
"git-remote": {
@@ -22,8 +21,7 @@
},
"branch": "master",
"rev": "master"
- },
- "path": "openembedded-core"
+ }
},
"yocto-docs": {
"git-remote": {
@@ -34,8 +32,7 @@
},
"branch": "master",
"rev": "master"
- },
- "path": "yocto-docs"
+ }
}
},
"bitbake-setup": {
@@ -10,8 +10,7 @@
},
"branch": "master",
"rev": "master"
- },
- "path": "bitbake"
+ }
},
"openembedded-core": {
"git-remote": {
@@ -22,8 +21,7 @@
},
"branch": "master",
"rev": "master"
- },
- "path": "openembedded-core"
+ }
},
"meta-yocto": {
"git-remote": {
@@ -34,8 +32,7 @@
},
"branch": "master",
"rev": "master"
- },
- "path": "meta-yocto"
+ }
},
"yocto-docs": {
"git-remote": {
@@ -46,8 +43,7 @@
},
"branch": "master",
"rev": "master"
- },
- "path": "yocto-docs"
+ }
}
},
"bitbake-setup": {
@@ -100,8 +100,7 @@ print("BBPATH is {{}}".format(os.environ["BBPATH"]))
},
"branch": "%s",
"rev": "%s"
- },
- "path": "test-repo"
+ }
}
},
"description": "Test configuration",