<?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>7875</bug_id>
          
          <creation_ts>2015-06-11 08:37:07 +0000</creation_ts>
          <short_desc>File not found error seems to be caused by the name of a recipe</short_desc>
          <delta_ts>2015-06-11 09:30:18 +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>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Igor Stoppa">igor.stoppa</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>51627</commentid>
    <comment_count>0</comment_count>
    <who name="Igor Stoppa">igor.stoppa</who>
    <bug_when>2015-06-11 08:37:07 +0000</bug_when>
    <thetext>Premise:

* I have created a custom layer
* Inside this layer, I have a recipe named baseos_initrd.bb
* This recipe pulls in another one, located in the same place, through PACKAGE_INSTALL.
* The 2nd recipe contains:
   FILESEXTRAPATHS_prepend := &quot;${THISDIR}/${PN}:&quot;
   SRC_URI = &quot;file://init.sh&quot;
* In the same location where the 2 recipes are, there is also a folder, named after the 2nd recipe (wihtout the .bb), which contains the file init.sh

Expectation:

* this should work regardless of the name of the 2nd recipe


Finding:

* if the name of the 2nd recipe is a subset of the name of the first (I had tried baseos_init.bb), the init.sh file is not found (the directory containing it, was named baseos_init)

* if the 2nd recipe has a totally different name (myinitrd.bb), then the init.sh file is found and used without any problem (in this case the directory containing init.sh was named myinitrd)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51635</commentid>
    <comment_count>1</comment_count>
    <who name="Igor Stoppa">igor.stoppa</who>
    <bug_when>2015-06-11 09:30:18 +0000</bug_when>
    <thetext>I think I can describe it better, trashing this and creating a new report.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>