<?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>12232</bug_id>
          
          <creation_ts>2017-10-16 22:55:44 +0000</creation_ts>
          <short_desc>bitbake-layers create-layer has bad BBFILES entry</short_desc>
          <delta_ts>2017-12-19 09:37:51 +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>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.5 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Phlip Balister">philip</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>dl9pf</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <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>77623</commentid>
    <comment_count>0</comment_count>
    <who name="Phlip Balister">philip</who>
    <bug_when>2017-10-16 22:55:44 +0000</bug_when>
    <thetext>I create a layer with:

[balister@thuvia build]$ bitbake-layers create-layer meta-foo

Which leads to this file in conf/layer.conf:

# We have a conf and classes directory, add to BBPATH
BBPATH .= &quot;:${LAYERDIR}&quot;

# We have recipes-* directories, add to BBFILES
BBFILES += &quot;${LAYERDIR}/recipes-*/*/*.bb \\
            ${LAYERDIR}/recipes-*/*/*.bbappend&quot;

BBFILE_COLLECTIONS += &quot;meta-foo&quot;
BBFILE_PATTERN_meta-foo = &quot;^${LAYERDIR}/&quot;
BBFILE_PRIORITY_meta-foo = &quot;6&quot;


Which leads to me beating my head against a wall trying to figure out why a bbappend in my new layer isn&apos;t picked up. I finally look at the BBFILES variable and see the entry for my layer has a \ in front of the path.

Nothing the \\ in the layer.conf file, I remove one slash and things work like I expect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78738</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-12-19 09:37:51 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=4a33d7b9cad9f9b83cbd7324d13eb6ace4c7a155</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>