<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9206</bug_id>
          
          <creation_ts>2016-03-03 16:31:35 +0000</creation_ts>
          <short_desc>Building custom images based on custom images fails</short_desc>
          <delta_ts>2016-05-04 14:22:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Toaster</product>
          <component>toaster</component>
          <version>2.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="Michael Wood">michael.g.wood</assigned_to>
          <cc>alexandru.costinx.roman</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>brian.avery</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>michael.g.wood</cc>
    
    <cc>stanciux.mihail</cc>
          
          <qa_contact name="Alexandru Roman">alexandru.costinx.roman</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59677</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2016-03-03 16:31:35 +0000</bug_when>
    <thetext>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&apos;/home/belen/toaster/_meta-toaster-custom//home/belen/toaster/_meta-toaster-custom/recipes/minimal-belen.bb&apos;

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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60375</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Wood">michael.g.wood</who>
    <bug_when>2016-03-24 11:22:04 +0000</bug_when>
    <thetext>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 &lt;michael.g.wood@intel.com&gt;
Signed-off-by: Elliot Smith &lt;elliot.smith@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;

Bug link: https://bugzilla.yoctoproject.org/show_bug.cgi?id=9206
gitweb: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1d1aaa2f561a18e10314e8ed07b616c11b1286ae</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61936</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Roman">alexandru.costinx.roman</who>
    <bug_when>2016-05-04 14:22:21 +0000</bug_when>
    <thetext>Verified on master: f7b520878babbaa7527151f22c031ae160512753</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>