<?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>16048</bug_id>
          
          <creation_ts>2025-10-30 11:40:02 +0000</creation_ts>
          <short_desc>FILESOVERRIDES needs its own comprehensive explanation</short_desc>
          <delta_ts>2025-12-05 15:27:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Development Manual</product>
          <component>development</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert P. J. Day">rpjday</reporter>
          <assigned_to name="Antonin Godard">antonin.godard</assigned_to>
          <cc>tim.orling</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>103144</commentid>
    <comment_count>0</comment_count>
    <who name="Robert P. J. Day">rpjday</who>
    <bug_when>2025-10-30 11:40:02 +0000</bug_when>
    <thetext>The current explanation of FILESOVERRIDES in the dev manual is simply a line in the &quot;Fetching Code&quot; section -- https://docs.yoctoproject.org/dev-manual/new-recipe.html#fetching-code -- which refers the reader to the reference manual. FILESOVERRIDES is important enough that it merits its own (sub)section, pulling a lot out of the reference manual back into the dev manual.

It should bolster its explanation with an actual example torn from oe-core: formfactor -- https://git.openembedded.org/openembedded-core/tree/meta/recipes-bsp/formfactor -- and it should discuss the behaviour explained by Quentin Schulz in his 2022 presentation (starting at slide 102): https://pretalx.com/media/yocto-project-summit-2022-05/submissions/SCYYWD/resources/Demystifying_the_OVERRIDES_mec_2lZOP</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103145</commentid>
    <comment_count>1</comment_count>
    <who name="Robert P. J. Day">rpjday</who>
    <bug_when>2025-10-30 11:47:36 +0000</bug_when>
    <thetext>This improved explanation should show the reader how to display the value of FILESOVERRIDES so they truly appreciate the possibilities:

$ bitbake-getvar FILESOVERRIDES
NOTE: Starting bitbake server...
#
# $FILESOVERRIDES [2 operations]
#   set /home/rpjday/oe/layers/poky/meta/conf/bitbake.conf:807
#     &quot;${TRANSLATED_TARGET_ARCH}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}&quot;
#   set /home/rpjday/oe/layers/poky/meta/conf/documentation.conf:176
#     [doc] &quot;A subset of OVERRIDES used by the OpenEmbedded build system for creating FILESPATH.&quot;
# pre-expansion value:
#   &quot;${TRANSLATED_TARGET_ARCH}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}&quot;
FILESOVERRIDES=&quot;aarch64:qemuall:aarch64:qemuarm64:poky&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>