<?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>12089</bug_id>
          
          <creation_ts>2017-09-14 22:16:05 +0000</creation_ts>
          <short_desc>Need to document BBFILES_DYNAMIC</short_desc>
          <delta_ts>2018-02-05 23:15:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>BitBake User Manual</product>
          <component>bitbake-manual</component>
          <version>2.4</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>05 February 2018: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="brian avery">brian.avery</reporter>
          <assigned_to name="Kristi">kristi</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>kristi</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>76871</commentid>
    <comment_count>0</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-09-14 22:16:05 +0000</bug_when>
    <thetext>From the commit message:
    bitbake: cookerdata: Add support for BBFILES_DYNAMIC
    
    BBFILES_DYNAMIC can be used to activate content only when some other
    layers are present. The other layers are identified by the collections
    that they define.
    
    The main use case is to avoid .bbappends without the corresponding .bb
    file in layers that want to modify other layers via .bbappends without
    introducing a hard dependency on those other layers. .bb files could
    also be handled via BBFILES_DYNAMIC.
    
    Entries in BBFILES_DYNAMIC must have the form &lt;collection
    name&gt;:&lt;filename pattern&gt;. Example usage:
     BBFILES_DYNAMIC += &quot; \
         clang-layer:${LAYERDIR}/bbappends/meta-clang/*/*/*.bbappend \
         core:${LAYERDIR}/bbappends/openembedded-core/meta/*/*/*.bbappend \
     &quot;
    
    Parsing is aborted when invalid entries are found with an error
    message like this:
    
     ERROR: BBFILES_DYNAMIC entries must be of the form &lt;collection name&gt;:&lt;filename pattern&gt;, not:
         /work/my-layer/bbappends/meta-security-isafw/*/*/*.bbappend
         /work/my-layer/bbappends/openembedded-core/meta/*/*/*.bbappend
    
    Based on a patch by Richard Purdie.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76872</commentid>
    <comment_count>1</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-09-14 22:20:07 +0000</bug_when>
    <thetext>adding interested parties.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76894</commentid>
    <comment_count>2</comment_count>
    <who name="Kristi">kristi</who>
    <bug_when>2017-09-15 16:15:50 +0000</bug_when>
    <thetext>Taking ownership of this one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78730</commentid>
    <comment_count>3</comment_count>
    <who name="Kristi">kristi</who>
    <bug_when>2017-12-18 23:12:21 +0000</bug_when>
    <thetext>Brian - I&apos;ve added this variable description to the glossary. Would you please take a look at http://www.yoctoproject.org/docs/2.5/ref-manual/ref-manual.html#var-BBFILES_DYNAMIC 

Let me know if additional changes are necessary. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79343</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-02-05 14:18:00 +0000</bug_when>
    <thetext>Fixed in 0906e9080e1c150feab60bb9d095688d274a061e.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79355</commentid>
    <comment_count>5</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2018-02-05 23:15:47 +0000</bug_when>
    <thetext>Setting Doc flag to &quot;done&quot;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>