diff options
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index 38e97a2e27..9deb572839 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | |||
@@ -128,8 +128,9 @@ class LocalhostBEController(BuildEnvironmentController): | |||
128 | gitrepos[(bitbake.giturl, bitbake.commit)].append( ("bitbake", bitbake.dirpath) ) | 128 | gitrepos[(bitbake.giturl, bitbake.commit)].append( ("bitbake", bitbake.dirpath) ) |
129 | 129 | ||
130 | for layer in layers: | 130 | for layer in layers: |
131 | # we don't process local URLs | 131 | # We don't need to git clone the layer for the CustomImageRecipe |
132 | if layer.giturl.startswith("file://"): | 132 | # as it's generated by us layer on if needed |
133 | if CustomImageRecipe.LAYER_NAME in layer.name: | ||
133 | continue | 134 | continue |
134 | if not (layer.giturl, layer.commit) in gitrepos: | 135 | if not (layer.giturl, layer.commit) in gitrepos: |
135 | gitrepos[(layer.giturl, layer.commit)] = [] | 136 | gitrepos[(layer.giturl, layer.commit)] = [] |