Steps to reproduce: 1. Create a Toaster project 2. Create a custom image based on core-image-minimal 3. Build your custom image 4. Create a custom image based on the custom image you created in step 2 5. Build your second custom image The build fails with the following error: [Errno 2] No such file or directory: u'/home/belen/toaster/_meta-toaster-custom//home/belen/toaster/_meta-toaster-custom/recipes/minimal-belen.bb' Note that the _meta-toaster-custom directory, because of its location in the file system, will be shared across projects. This should not happen: once the changes required to fix bug 7880 go in, we should probably move _meta-toaster-custom to the build directory, so that it is not shared across projects.
This commit has landed http://git.yoctoproject.org/cgit/cgit.cgi/poky/atom/1d1aaa2f561a18e10314e8ed07b616c11b1286ae Try a secondary file path if the first does not exist. When we get the recipe paths and layer information from the layer index it is not a complete path but we are usually able to reconstruct it. If the complete real path has been discovered by building then use this instead. [YOCTO #9206] (Bitbake rev: 238db2e03405d259d48dfc477a276191e6a47698) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Bug link: https://bugzilla.yoctoproject.org/show_bug.cgi?id=9206 gitweb: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1d1aaa2f561a18e10314e8ed07b616c11b1286ae
Verified on master: f7b520878babbaa7527151f22c031ae160512753