Skip to contentSkip to conversation

ref-manual: correctly document the difference between auto.conf and newly added toolcfg.conf

PATCH Applied Alexander Kanavin 2 participants 5 messages Oct 6, 2025 – Oct 15, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ref-manual: correctly document the difference between auto.conf and newly added toolcfg.conf

---
 documentation/ref-manual/fragments.rst |  4 ++--
 documentation/ref-manual/structure.rst | 15 ++++++++++++---
 2 files changed, 14 insertions(+), 5 deletions(-)
documentation/ref-manual/fragments.rst +2 -2
index c0118876c..7fd08656d 100644
@@ -94,7 +94,7 @@ Note that in this case, the fragment will be defined twice in
 :term:`OE_FRAGMENTS`, and the last value is taken into account:
 
 .. code-block::
-   :caption: build/conf/auto.conf
+   :caption: build/conf/toolcfg.conf
 
    OE_FRAGMENTS += " ... machine/qemuarm64 machine/qemux86-64"
 
@@ -103,7 +103,7 @@ In the above example, the value of :term:`MACHINE` is thus equal to
 
 When a fragment is enabled with :ref:`ref-bitbake-config-build-enable-fragment`,
 its name is automatically appended to the :term:`OE_FRAGMENTS` variable in
-:ref:`structure-build-conf-auto.conf`.
+:ref:`structure-build-conf-toolcfg.conf`.
 
 .. note::
 
documentation/ref-manual/structure.rst +12 -3
index 1aaafcf79..0ef51fa4f 100644
@@ -356,15 +356,24 @@ This configuration file is generated by :doc:`bblock </dev-manual/bblock>` and
 contains the signatures locked by ``bblock``. By default, it does not exist
 and will be created upon the first invocation of ``bblock``.
 
-.. _structure-build-conf-auto.conf:
+.. _structure-build-conf-toolcfg.conf:
 
-``build/conf/auto.conf``
-------------------------
+``build/conf/toolcfg.conf``
+---------------------------
 
 This file contains configuration variables that are automatically modified by
 tools such as :oe_git:`bitbake-config-build </bitbake/tree/bin/bitbake-config-build>`.
 This file should not be modified manually.
 
+.. _structure-build-conf-auto.conf:
+
+``build/conf/auto.conf``
+------------------------
+
+This file is intended for use by continuous integration environments, such as the
+Yocto Project's autobuilder. It should not be created or modified when running
+local builds.
+
 .. _structure-build-downloads:
 
 ``build/downloads/``
Signature · 1 line
2.39.5
#1 lore raw
Quoted 50 lines · Alexander Kanavin via lists.yoctoproject.org
---
 documentation/ref-manual/fragments.rst |  4 ++--
 documentation/ref-manual/structure.rst | 15 ++++++++++++---
 2 files changed, 14 insertions(+), 5 deletions(-)
documentation/ref-manual/fragments.rst +2 -2
index c0118876c..7fd08656d 100644
@@ -94,7 +94,7 @@ Note that in this case, the fragment will be defined twice in
 :term:`OE_FRAGMENTS`, and the last value is taken into account:
 
 .. code-block::
-   :caption: build/conf/auto.conf
+   :caption: build/conf/toolcfg.conf
 
    OE_FRAGMENTS += " ... machine/qemuarm64 machine/qemux86-64"
 
@@ -103,7 +103,7 @@ In the above example, the value of :term:`MACHINE` is thus equal to
 
 When a fragment is enabled with :ref:`ref-bitbake-config-build-enable-fragment`,
 its name is automatically appended to the :term:`OE_FRAGMENTS` variable in
-:ref:`structure-build-conf-auto.conf`.
+:ref:`structure-build-conf-toolcfg.conf`.
 
 .. note::
 
documentation/ref-manual/structure.rst +5 -3
index 1aaafcf79..0ef51fa4f 100644
@@ -356,15 +356,24 @@ This configuration file is generated by :doc:`bblock </dev-manual/bblock>` and
 contains the signatures locked by ``bblock``. By default, it does not exist
 and will be created upon the first invocation of ``bblock``.
 
-.. _structure-build-conf-auto.conf:
+.. _structure-build-conf-toolcfg.conf:
 
-``build/conf/auto.conf``
-------------------------
+``build/conf/toolcfg.conf``
+---------------------------
 
 This file contains configuration variables that are automatically modified by
 tools such as :oe_git:`bitbake-config-build </bitbake/tree/bin/bitbake-config-build>`.
 This file should not be modified manually.
 
+.. _structure-build-conf-auto.conf:
+

documentation/ref-manual/structure.rst This configuration file is generated by :doc:`bblock </dev-manual/bblock>` and · line 379

Quoted 10 lines
documentation/ref-manual/structure.rst +7 -0
+``build/conf/auto.conf``
+------------------------
+
+This file is intended for use by continuous integration environments, such as the
+Yocto Project's autobuilder. It should not be created or modified when running
+local builds.
+
 .. _structure-build-downloads:
 
 ``build/downloads/``

We also need to update the auto.conf reference in the fragments documentation. Do you want to send a patch?

But otherwise this change looks good to me, thank you!

Antonin

Signature · 3 lines
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw
Quoted 2 lines · Antonin Godard

We also need to update the auto.conf reference in the fragments documentation. Do you want to send a patch?

I am unable to find any other auto.conf references, other than the ones the patch is fixing. Can you point me to them please?

Alex

#3 lore raw
Quoted 7 lines · Alexander Kanavin via lists.yoctoproject.org
Quoted 2 lines · Antonin Godard

We also need to update the auto.conf reference in the fragments documentation. Do you want to send a patch?

I am unable to find any other auto.conf references, other than the ones the patch is fixing. Can you point me to them please?

Hi Alex,

Indeed, for some reason (tired probably), I missed this part of your patch. Sorry about that.

The patch looks good to me.

Thanks,
Antonin

Signature · 3 lines
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com