From: Michael Opdenacker <michael.opdenacker@bootlin.com>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Alexander Kanavin <alex@linutronix.de>, docs@lists.yoctoproject.org
Subject: Re: [docs] [PATCH 1/5] ref-manual: correct the location of default configuration template
Date: Tue, 20 Sep 2022 14:36:43 +0100 [thread overview]
Message-ID: <f2fe2a45-0c9a-a75a-d7a8-6afbf416843d@bootlin.com> (raw)
In-Reply-To: <20220911172608.2542076-1-alex@linutronix.de>
Hi Alex,
On 9/11/22 18:26, Alexander Kanavin wrote:
> Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> ---
> documentation/ref-manual/structure.rst | 18 +++++++++---------
> 1 file changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/documentation/ref-manual/structure.rst b/documentation/ref-manual/structure.rst
> index bdcffc194..6c6f52e79 100644
> --- a/documentation/ref-manual/structure.rst
> +++ b/documentation/ref-manual/structure.rst
> @@ -189,7 +189,7 @@ Directory named ``mybuilds/`` that is outside of the :term:`Source Directory`::
> $ source oe-init-build-env ~/mybuilds
>
> The OpenEmbedded build system uses the template configuration files, which
> -are found by default in the ``meta-poky/conf/`` directory in the Source
> +are found by default in the ``meta-poky/conf/templates/default`` directory in the Source
> Directory. See the
> ":ref:`dev-manual/common-tasks:creating a custom template configuration directory`"
> section in the Yocto Project Development Tasks Manual for more
> @@ -261,15 +261,15 @@ OpenEmbedded build system creates it from ``local.conf.sample`` when you
> :ref:`structure-core-script`.
>
> The source ``local.conf.sample`` file used depends on the
> -:term:`TEMPLATECONF` script variable, which defaults to ``meta-poky/conf/``
> +:term:`TEMPLATECONF` script variable, which defaults to ``meta-poky/conf/templates/default``
> when you are building from the Yocto Project development environment,
> -and to ``meta/conf/`` when you are building from the OpenEmbedded-Core
> +and to ``meta/conf/templates/default`` when you are building from the OpenEmbedded-Core
> environment. Because the script variable points to the source of the
> ``local.conf.sample`` file, this implies that you can configure your
> build environment from any layer by setting the variable in the
> top-level build environment setup script as follows::
>
> - TEMPLATECONF=your_layer/conf
> + TEMPLATECONF=your_layer/conf/templates/your_template_name
>
> Once the build process gets the sample
> file, it uses ``sed`` to substitute final
> @@ -281,7 +281,7 @@ file, it uses ``sed`` to substitute final
> You can see how the :term:`TEMPLATECONF` variable is used by looking at the
> ``scripts/oe-setup-builddir`` script in the :term:`Source Directory`.
> You can find the Yocto Project version of the ``local.conf.sample`` file in
> - the ``meta-poky/conf`` directory.
> + the ``meta-poky/conf/templates/default`` directory.
>
> .. _structure-build-conf-bblayers.conf:
>
> @@ -301,14 +301,14 @@ you ``source`` the top-level build environment setup script (i.e.
>
> As with the ``local.conf`` file, the source ``bblayers.conf.sample``
> file used depends on the :term:`TEMPLATECONF` script variable, which
> -defaults to ``meta-poky/conf/`` when you are building from the Yocto
> -Project development environment, and to ``meta/conf/`` when you are
> +defaults to ``meta-poky/conf/templates/default`` when you are building from the Yocto
> +Project development environment, and to ``meta/conf/templates/default`` when you are
> building from the OpenEmbedded-Core environment. Because the script
> variable points to the source of the ``bblayers.conf.sample`` file, this
> implies that you can base your build from any layer by setting the
> variable in the top-level build environment setup script as follows::
>
> - TEMPLATECONF=your_layer/conf
> + TEMPLATECONF=your_layer/conf/templates/your_template_name
>
> Once the build process gets the sample file, it uses ``sed`` to substitute final
> ``${``\ :term:`OEROOT`\ ``}`` values for all ``##OEROOT##`` values.
> @@ -317,7 +317,7 @@ Once the build process gets the sample file, it uses ``sed`` to substitute final
>
> You can see how the :term:`TEMPLATECONF` variable is defined by the ``scripts/oe-setup-builddir``
> script in the :term:`Source Directory`. You can find the Yocto Project
> - version of the ``bblayers.conf.sample`` file in the ``meta-poky/conf/``
> + version of the ``bblayers.conf.sample`` file in the ``meta-poky/conf/templates/default``
> directory.
>
> .. _structure-build-conf-sanity_info:
Thanks for the patch!
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
... and merged into master-next.
Cheers
Michael.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2022-09-20 13:36 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-11 17:26 [PATCH 1/5] ref-manual: correct the location of default configuration template Alexander Kanavin
2022-09-11 17:26 ` [PATCH 2/5] common-tasks.rst: drop the output of 'bitbake-layers --help' Alexander Kanavin
2022-09-20 13:42 ` [docs] " Michael Opdenacker
2022-09-11 17:26 ` [PATCH 3/5] common-tasks.rst: describe the newly added layer setup and template config commands Alexander Kanavin
2022-09-19 15:23 ` [docs] " Quentin Schulz
[not found] ` <6b495f9b-fbc3-7f91-19b3-0e1bb433e54a@bootlin.com>
2022-09-20 21:22 ` Alexander Kanavin
2022-09-11 17:26 ` [PATCH 4/5] common-tasks.rst: describe the layer setup tooling Alexander Kanavin
2022-09-19 15:34 ` [docs] " Quentin Schulz
2022-09-19 15:37 ` Quentin Schulz
2022-09-11 17:26 ` [PATCH 5/5] common-tasks.rst: rewrite the section about configuration templates Alexander Kanavin
2022-09-13 17:38 ` [docs] " Peter Kjellerstedt
2022-09-13 18:27 ` Alexander Kanavin
2022-09-13 23:59 ` Peter Kjellerstedt
2022-09-14 4:50 ` Alexander Kanavin
2022-09-20 20:46 ` Michael Opdenacker
2022-09-20 20:53 ` Alexander Kanavin
[not found] ` <1716ACEC6B725C1D.5502@lists.yoctoproject.org>
2022-09-20 21:04 ` Alexander Kanavin
2022-09-19 15:43 ` Quentin Schulz
2022-09-21 9:00 ` [PATCH v2] dev-manual: " michael.opdenacker
2022-09-20 13:36 ` Michael Opdenacker [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f2fe2a45-0c9a-a75a-d7a8-6afbf416843d@bootlin.com \
--to=michael.opdenacker@bootlin.com \
--cc=alex.kanavin@gmail.com \
--cc=alex@linutronix.de \
--cc=docs@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox