mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
bitbake: toaster: custom image enable layer add, protect pre-cloned layers
When creating custom image recipes, the layer add for new layers needs missing xhrLayerUrl data. Also, code is needed to check and inform user if the newly added layer has not been cloned yet, and provide helpful error message instead of the current frozen dialog. [YOCTO #12887] (Bitbake rev: b310031972a53d0881a87a627f07bdcf7d9c6b79) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f0cf4b0972
commit
fa8ade3695
@@ -1750,8 +1750,8 @@ class CustomImageRecipe(Recipe):
|
||||
if base_recipe_path:
|
||||
base_recipe = open(base_recipe_path, 'r').read()
|
||||
else:
|
||||
raise IOError("Based on recipe file not found: %s" %
|
||||
base_recipe_path)
|
||||
# Pass back None to trigger error message to user
|
||||
return None
|
||||
|
||||
# Add a special case for when the recipe we have based a custom image
|
||||
# recipe on requires another recipe.
|
||||
|
||||
Reference in New Issue
Block a user