path: root/bitbake/lib/toaster/orm/
diff options
authorDavid Reyna <>2017-08-20 18:01:48 -0700
committerRichard Purdie <>2017-08-23 12:07:42 +0100
commit52a67cc958185266f1b982555cf019a8b4f10817 (patch)
tree455d1e24d62b2a00c2926463d4ab405bbab80cba /bitbake/lib/toaster/orm/
parente659fcc6b8d34955b2c38feffc86118f97b6dd9f (diff)
bitbake: toaster: custom image updates and original creation
When Toaster removes a package from a custom image, it must also always remove the advised reverse-dependent recipes. Similarly, when adding a package it must always add its advised the packages it depends on. This code must be un-indented so that it applies to all respective added or removed packages. Toaster normally waits until a new custom image is built before creating the custom layer and the recipe. However, an intermediate different build can fail because the recipe has already been added to the project, so the image's default recipe must be created when the image is created. [YOCTO #11915] (Bitbake rev: bcd68fd7231f166baff875fb88e4f9ce0d9bf91d) Signed-off-by: David Reyna <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'bitbake/lib/toaster/orm/')
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/ b/bitbake/lib/toaster/orm/
index 7aaebedc2d..3a7dff8ca6 100644
--- a/bitbake/lib/toaster/orm/
+++ b/bitbake/lib/toaster/orm/
@@ -1658,7 +1658,7 @@ class CustomImageRecipe(Recipe):
def get_base_recipe_file(self):
"""Get the base recipe file path if it exists on the file system"""
- path_schema_one = "%s/%s" % (self.base_recipe.layer_version.dirpath,
+ path_schema_one = "%s/%s" % (self.base_recipe.layer_version.local_path,
path_schema_two = self.base_recipe.file_path