diff options
author | Michael Wood <michael.g.wood@intel.com> | 2016-11-24 11:20:00 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-30 15:48:10 +0000 |
commit | 30a9f65dcc043c1f51fd3128653ea5ecef8e25a0 (patch) | |
tree | dcf3d5ef0a4d62469d234954ea3edaeb9bd1ccf5 /bitbake/lib/toaster/orm | |
parent | fa5ea98d3b4610e94a9bf8eae7801e52984defb6 (diff) | |
download | poky-30a9f65dcc043c1f51fd3128653ea5ecef8e25a0.tar.gz |
bitbake: toaster: buildinfohelper toaster-custom-images layer
This fixes the unidentified layers issue by making the
toaster-custom-images layer a local layer. By doing this we also fix the
git assumptions made for the local layers which stop recipes and other
meta data being associated with them. This also removed some of the
special casing previously needed when we didn't have the concept of a
local (non git) layer.
Also rename created flag var to a have a different var for each returned
value so that the same value isn't used multiple times.
[YOCTO #10220]
(Bitbake rev: ba5332d4960d7f4f79aef63136796e2fa67284e3)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/orm')
-rw-r--r-- | bitbake/lib/toaster/orm/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py index b24e9c5492..fd15fbe7be 100644 --- a/bitbake/lib/toaster/orm/models.py +++ b/bitbake/lib/toaster/orm/models.py | |||
@@ -1636,7 +1636,8 @@ class CustomImageRecipe(Recipe): | |||
1636 | if base_recipe_path: | 1636 | if base_recipe_path: |
1637 | base_recipe = open(base_recipe_path, 'r').read() | 1637 | base_recipe = open(base_recipe_path, 'r').read() |
1638 | else: | 1638 | else: |
1639 | raise IOError("Based on recipe file not found") | 1639 | raise IOError("Based on recipe file not found: %s" % |
1640 | base_recipe_path) | ||
1640 | 1641 | ||
1641 | # Add a special case for when the recipe we have based a custom image | 1642 | # Add a special case for when the recipe we have based a custom image |
1642 | # recipe on requires another recipe. | 1643 | # recipe on requires another recipe. |