public inbox for docs@lists.yoctoproject.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Redefine terms now that the Poky repository is obsolete
@ 2026-01-20 15:16 Antonin Godard
  2026-01-20 15:17 ` [PATCH v2 1/5] ref-manual/terms.rst: refresh the Build Directory definition Antonin Godard
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Antonin Godard @ 2026-01-20 15:16 UTC (permalink / raw)
  To: docs; +Cc: Thomas Petazzoni, Antonin Godard, Quentin Schulz

The Poky repository's master branch is no longer updated:
https://git.yoctoproject.org/poky/tree/README

Redefine the terms in ref-manual/terms.rst to adapt to the new
intended way to set things up, that is: either using bitbake-setup or
manually cloning the oe-core/bitbake/meta-yocto layers.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
Changes in v2:
- Apply suggestions from Quentin (thanks!)
- Link to v1: https://patch.msgid.link/20251224-terms-refresh-v1-0-691329fd038f@bootlin.com

---
Antonin Godard (5):
      ref-manual/terms.rst: refresh the Build Directory definition
      ref-manual/terms.rst: refresh the OpenEmbedded-Core definition
      ref-manual/terms.rst: simplify the Source Directory definition
      dev-manual/poky-manual-setup.rst: mention the Source Directory
      ref-manual/terms.rst: refresh the OpenEmbedded build system definition

 documentation/dev-manual/poky-manual-setup.rst |  11 +-
 documentation/ref-manual/terms.rst             | 142 +++++++++++--------------
 2 files changed, 73 insertions(+), 80 deletions(-)
---
base-commit: b8a56b8b2e8c0417b2f7204f80c79b05d95e9ce4
change-id: 20251224-terms-refresh-cdcd529ee508



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH v2 1/5] ref-manual/terms.rst: refresh the Build Directory definition
  2026-01-20 15:16 [PATCH v2 0/5] Redefine terms now that the Poky repository is obsolete Antonin Godard
@ 2026-01-20 15:17 ` Antonin Godard
  2026-01-20 16:36   ` [docs] " Quentin Schulz
  2026-01-20 15:17 ` [PATCH v2 2/5] ref-manual/terms.rst: refresh the OpenEmbedded-Core definition Antonin Godard
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 12+ messages in thread
From: Antonin Godard @ 2026-01-20 15:17 UTC (permalink / raw)
  To: docs; +Cc: Thomas Petazzoni, Antonin Godard

After the Poky repository obsolescence, refresh the build directory
definition. Fix the formatting and indenting issues while at it.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 documentation/ref-manual/terms.rst | 46 +++++++++++++++++++++-----------------
 1 file changed, 25 insertions(+), 21 deletions(-)

diff --git a/documentation/ref-manual/terms.rst b/documentation/ref-manual/terms.rst
index 6a9f88061..93a2febc7 100644
--- a/documentation/ref-manual/terms.rst
+++ b/documentation/ref-manual/terms.rst
@@ -63,36 +63,39 @@ universal, the list includes them just in case:
       This term refers to the area used by the OpenEmbedded build system for
       builds. The area is created when you ``source`` the setup environment
       script that is found in the Source Directory
-      (i.e. :ref:`ref-manual/structure:``oe-init-build-env```). The
+      (i.e. :ref:`ref-manual/structure:``oe-init-build-env```, or
+      ``init-build-env`` when using :doc:`bitbake-setup
+      <bitbake:bitbake-user-manual/bitbake-user-manual-environment-setup>`). The
       :term:`TOPDIR` variable points to the :term:`Build Directory`.
 
-      You have a lot of flexibility when creating the :term:`Build Directory`.
+      When setting up the build manually (see :doc:`/dev-manual/poky-manual-setup`),
+      you have a lot of flexibility when creating the :term:`Build Directory`.
       Here are some examples that show how to create the directory.  The
-      examples assume your :term:`Source Directory` is named ``poky``:
+      examples assume your :term:`Source Directory` is named ``project``:
 
-         -  Create the :term:`Build Directory` inside your Source Directory and let
-            the name of the :term:`Build Directory` default to ``build``:
+      -  Create the :term:`Build Directory` inside your Source Directory and let
+         the name of the :term:`Build Directory` default to ``build``:
 
-            .. code-block:: shell
+         .. code-block:: console
 
-               $ cd poky
-               $ source oe-init-build-env
+            $ cd project
+            $ source layers/openembedded-core/oe-init-build-env
 
-         -  Create the :term:`Build Directory` inside your home directory and
-            specifically name it ``test-builds``:
+      -  Or create the :term:`Build Directory` inside your current working
+         directory and specifically name it ``test-builds``:
 
-            .. code-block:: shell
+         .. code-block:: console
 
-               $ source poky/oe-init-build-env test-builds
+            $ source project/layers/openembedded-core/oe-init-build-env test-builds
 
-         -  Provide a directory path and specifically name the
-            :term:`Build Directory`. Any intermediate folders in the pathname
-            must exist.  This next example creates a :term:`Build Directory`
-            named ``YP-&DISTRO;`` within the existing directory ``mybuilds``:
+      -  Or provide a directory path and specifically name the
+         :term:`Build Directory`. Any intermediate folders in the pathname
+         must exist.  This next example creates a :term:`Build Directory`
+         named ``YP-&DISTRO;`` within the existing directory ``mybuilds``:
 
-            .. code-block:: shell
+         .. code-block:: shell
 
-               $ source poky/oe-init-build-env mybuilds/YP-&DISTRO;
+            $ source project/layers/openembedded-core/oe-init-build-env mybuilds/YP-&DISTRO;
 
       .. note::
 
@@ -100,9 +103,10 @@ universal, the list includes them just in case:
          temporary directory the build system uses for its work. :term:`TMPDIR` cannot
          be under NFS. Thus, by default, the :term:`Build Directory` cannot be under
          NFS. However, if you need the :term:`Build Directory` to be under NFS, you can
-         set this up by setting :term:`TMPDIR` in your ``local.conf`` file to use a local
-         drive. Doing so effectively separates :term:`TMPDIR` from :term:`TOPDIR`, which is the
-         :term:`Build Directory`.
+         set this up by setting :term:`TMPDIR` in your
+         :ref:`structure-build-conf-site.conf` file to use a local drive. Doing
+         so effectively separates :term:`TMPDIR` from :term:`TOPDIR`, which is
+         the :term:`Build Directory`.
 
    :term:`Build Host`
       The system used to build images in a Yocto Project Development

-- 
2.52.0



^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH v2 2/5] ref-manual/terms.rst: refresh the OpenEmbedded-Core definition
  2026-01-20 15:16 [PATCH v2 0/5] Redefine terms now that the Poky repository is obsolete Antonin Godard
  2026-01-20 15:17 ` [PATCH v2 1/5] ref-manual/terms.rst: refresh the Build Directory definition Antonin Godard
@ 2026-01-20 15:17 ` Antonin Godard
  2026-01-20 15:17 ` [PATCH v2 3/5] ref-manual/terms.rst: simplify the Source Directory definition Antonin Godard
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 12+ messages in thread
From: Antonin Godard @ 2026-01-20 15:17 UTC (permalink / raw)
  To: docs; +Cc: Thomas Petazzoni, Antonin Godard, Quentin Schulz

After the Poky repository obsolescence, refresh the OpenEmbedded-Core
definition.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 documentation/ref-manual/terms.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/documentation/ref-manual/terms.rst b/documentation/ref-manual/terms.rst
index 93a2febc7..d908af4ae 100644
--- a/documentation/ref-manual/terms.rst
+++ b/documentation/ref-manual/terms.rst
@@ -424,8 +424,8 @@ universal, the list includes them just in case:
       recipes. The result is a tightly controlled and an quality-assured
       core set of recipes.
 
-      You can see the Metadata in the ``meta`` directory of the Yocto
-      Project :yocto_git:`Source Repositories </poky>`.
+      You can browse the source of :term:`OpenEmbedded-Core (OE-Core)` at
+      :oe_git:`openembedded-core </openembedded-core>`.
 
    :term:`Package`
       In the context of the Yocto Project, this term refers to a

-- 
2.52.0



^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH v2 3/5] ref-manual/terms.rst: simplify the Source Directory definition
  2026-01-20 15:16 [PATCH v2 0/5] Redefine terms now that the Poky repository is obsolete Antonin Godard
  2026-01-20 15:17 ` [PATCH v2 1/5] ref-manual/terms.rst: refresh the Build Directory definition Antonin Godard
  2026-01-20 15:17 ` [PATCH v2 2/5] ref-manual/terms.rst: refresh the OpenEmbedded-Core definition Antonin Godard
@ 2026-01-20 15:17 ` Antonin Godard
  2026-01-20 16:42   ` [docs] " Quentin Schulz
  2026-01-20 15:17 ` [PATCH v2 4/5] dev-manual/poky-manual-setup.rst: mention the Source Directory Antonin Godard
  2026-01-20 15:17 ` [PATCH v2 5/5] ref-manual/terms.rst: refresh the OpenEmbedded build system definition Antonin Godard
  4 siblings, 1 reply; 12+ messages in thread
From: Antonin Godard @ 2026-01-20 15:17 UTC (permalink / raw)
  To: docs; +Cc: Thomas Petazzoni, Antonin Godard

Now that we no longer have Poky around, simplify the Source Directory
definition:

- Make references to existing documents that show how to create this
  Source Directory.

- This directory contains sources, the layout in which they are
  presented does not matter so much, as it can be different and/or
  freeform depending on whether we use bitbake-setup or not.

  The definition chooses "project" as the name of the source directory
  and is the one that should be used when showing examples in the
  documentation.

  A typical Source Directory would look like the following:

  project/
  ├── build/
  └── layers/

Other parts of the documentation referencing to this as the Poky
repository still have to be updated.

This will also mean that this definition will be used a lot less across
the documentation: in most cases, when the "Source Directory" is
referenced as the Poky repository, it can be replaced by
OpenEmbedded-Core, Bitbake, the documentation, or meta-yocto. We'll keep
this definition around regardless, as it can be useful to denote this
group of directories in a more general sense.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 documentation/ref-manual/terms.rst | 79 +++++++++++++++-----------------------
 1 file changed, 31 insertions(+), 48 deletions(-)

diff --git a/documentation/ref-manual/terms.rst b/documentation/ref-manual/terms.rst
index d908af4ae..ab8eb6123 100644
--- a/documentation/ref-manual/terms.rst
+++ b/documentation/ref-manual/terms.rst
@@ -526,20 +526,36 @@ universal, the list includes them just in case:
       a software bill of materials`" section of the Development Tasks manual.
 
    :term:`Source Directory`
-     This term refers to the directory structure
-     created as a result of creating a local copy of the ``poky`` Git
-     repository ``git://git.yoctoproject.org/poky`` or expanding a
-     released ``poky`` tarball.
+     This term refers to the directory structure created as a result of setting
+     up your environment to build images with the Yocto Project, which can be
+     done in two ways:
 
-     .. note::
+     -  Using the ``bitbake-setup`` command-line utility (see :doc:`Setting Up
+        The Environment With bitbake-setup
+        <bitbake:bitbake-user-manual/bitbake-user-manual-environment-setup>`).
+
+     -  Or manually setting up the :term:`Layers <Layer>` (see
+        :doc:`/dev-manual/poky-manual-setup`).
+
+     In either case, the result will be a set of :term:`Layers <Layer>` and a
+     :term:`Build Directory`: this is the Source Directory for your build. The
+     documentation usually denotes this directory with the name "project".
+
+     A typical layout for the :term:`Source Directory` would be:
+
+     .. code-block:: text
+
+        project/
+        ├── build/
+        └── layers/
 
-        Creating a local copy of the
-        poky
-        Git repository is the recommended method for setting up your
-        Source Directory.
+     Where the ``layers/`` directory corresponds to the directory containing
+     :term:`layers <Layer>` for your project, and the ``build/`` directory
+     corresponds to the :term:`Build Directory`.
 
-     Sometimes you might hear the term "poky directory" used to refer to
-     this directory structure.
+     We present a :term:`Source Directory` structure and its components in
+     details in the :doc:`/ref-manual/structure` section of the Yocto Project
+     Reference Manual.
 
      .. note::
 
@@ -547,43 +563,10 @@ universal, the list includes them just in case:
         names that contain spaces. Be sure that the Source Directory you
         use does not contain these types of names.
 
-     The Source Directory contains BitBake, Documentation, Metadata and
-     other files that all support the Yocto Project. Consequently, you
-     must have the Source Directory in place on your development system in
-     order to do any development using the Yocto Project.
-
-     When you create a local copy of the Git repository, you can name the
-     repository anything you like. Throughout much of the documentation,
-     "poky" is used as the name of the top-level folder of the local copy
-     of the poky Git repository. So, for example, cloning the ``poky`` Git
-     repository results in a local Git repository whose top-level folder
-     is also named "poky".
-
-     While it is not recommended that you use tarball extraction to set up
-     the Source Directory, if you do, the top-level directory name of the
-     Source Directory is derived from the Yocto Project release tarball.
-     For example, downloading and unpacking poky tarballs from
-     :yocto_dl:`/releases/yocto/&DISTRO_REL_LATEST_TAG;/`
-     results in a Source Directory whose root folder is named poky.
-
-
-     It is important to understand the differences between the Source
-     Directory created by unpacking a released tarball as compared to
-     cloning ``git://git.yoctoproject.org/poky``. When you unpack a
-     tarball, you have an exact copy of the files based on the time of
-     release --- a fixed release point. Any changes you make to your local
-     files in the Source Directory are on top of the release and will
-     remain local only. On the other hand, when you clone the ``poky`` Git
-     repository, you have an active development repository with access to
-     the upstream repository's branches and tags. In this case, any local
-     changes you make to the local Source Directory can be later applied
-     to active development branches of the upstream ``poky`` Git
-     repository.
-
-     For more information on concepts related to Git repositories,
-     branches, and tags, see the
-     ":ref:`overview-manual/development-environment:repositories, tags, and branches`"
-     section in the Yocto Project Overview and Concepts Manual.
+     The Source Directory contains BitBake, OpenEmbedded-Core (OE-Core),
+     Documentation, Metadata and other files that all support the Yocto Project.
+     Consequently, you must have the Source Directory in place on your
+     development system in order to do any development using the Yocto Project.
 
    :term:`SPDX`
       This term means *Software Package Data Exchange*, and is used as an open

-- 
2.52.0



^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH v2 4/5] dev-manual/poky-manual-setup.rst: mention the Source Directory
  2026-01-20 15:16 [PATCH v2 0/5] Redefine terms now that the Poky repository is obsolete Antonin Godard
                   ` (2 preceding siblings ...)
  2026-01-20 15:17 ` [PATCH v2 3/5] ref-manual/terms.rst: simplify the Source Directory definition Antonin Godard
@ 2026-01-20 15:17 ` Antonin Godard
  2026-01-20 16:44   ` [docs] " Quentin Schulz
  2026-01-20 15:17 ` [PATCH v2 5/5] ref-manual/terms.rst: refresh the OpenEmbedded build system definition Antonin Godard
  4 siblings, 1 reply; 12+ messages in thread
From: Antonin Godard @ 2026-01-20 15:17 UTC (permalink / raw)
  To: docs; +Cc: Thomas Petazzoni, Antonin Godard

After switching to the new definition of "Source Directory", i.e. the
base directory for your project (which used to be poky), mention it in
this document on manually setting up the layers for a project. As stated
in terms.rst, use "project" for the directory name.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 documentation/dev-manual/poky-manual-setup.rst | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/documentation/dev-manual/poky-manual-setup.rst b/documentation/dev-manual/poky-manual-setup.rst
index bcda9d7e7..9e18dab8e 100644
--- a/documentation/dev-manual/poky-manual-setup.rst
+++ b/documentation/dev-manual/poky-manual-setup.rst
@@ -22,7 +22,16 @@ release or a Long Term Support release.
 
 Once you complete the setup instructions for your machine (see the
 :doc:`/ref-manual/system-requirements` section of the Yocto Project Reference
-Manual), you need to get a copy of the different :term:`layers <Layer>` needed
+Manual), create a :term:`Source Directory`: the base directory for your project.
+Throughout the documentation, we will use ``project`` as the name of the
+:term:`Source Directory`. Here's how to create it:
+
+.. code-block:: console
+
+   $ mkdir project
+   $ cd project
+
+You need to get a copy of the different :term:`layers <Layer>` needed
 to setup the :term:`Poky` reference distribution on your build host. Use the
 following commands:
 

-- 
2.52.0



^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH v2 5/5] ref-manual/terms.rst: refresh the OpenEmbedded build system definition
  2026-01-20 15:16 [PATCH v2 0/5] Redefine terms now that the Poky repository is obsolete Antonin Godard
                   ` (3 preceding siblings ...)
  2026-01-20 15:17 ` [PATCH v2 4/5] dev-manual/poky-manual-setup.rst: mention the Source Directory Antonin Godard
@ 2026-01-20 15:17 ` Antonin Godard
  2026-01-20 16:46   ` [docs] " Quentin Schulz
  4 siblings, 1 reply; 12+ messages in thread
From: Antonin Godard @ 2026-01-20 15:17 UTC (permalink / raw)
  To: docs; +Cc: Thomas Petazzoni, Antonin Godard

Remove the mention of Poky containing BitBake, just mention BitBake.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 documentation/ref-manual/terms.rst | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/documentation/ref-manual/terms.rst b/documentation/ref-manual/terms.rst
index ab8eb6123..1e8a9d57d 100644
--- a/documentation/ref-manual/terms.rst
+++ b/documentation/ref-manual/terms.rst
@@ -401,14 +401,11 @@ universal, the list includes them just in case:
       section for details.
 
    :term:`OpenEmbedded Build System`
-      The build system specific to the Yocto
-      Project. The OpenEmbedded build system is based on another project
-      known as "Poky", which uses :term:`BitBake` as the task
-      executor. Throughout the Yocto Project documentation set, the
-      OpenEmbedded build system is sometimes referred to simply as "the
-      build system". If other build systems, such as a host or target build
-      system are referenced, the documentation clearly states the
-      difference.
+      The build system used by the Yocto Project, using :term:`Bitbake` as the
+      task executor. Throughout the Yocto Project documentation set, the
+      OpenEmbedded build system is sometimes referred to simply as "the build
+      system". If other build systems, such as a host or target build system are
+      referenced, the documentation clearly states the difference.
 
       .. note::
 

-- 
2.52.0



^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [docs] [PATCH v2 1/5] ref-manual/terms.rst: refresh the Build Directory definition
  2026-01-20 15:17 ` [PATCH v2 1/5] ref-manual/terms.rst: refresh the Build Directory definition Antonin Godard
@ 2026-01-20 16:36   ` Quentin Schulz
  0 siblings, 0 replies; 12+ messages in thread
From: Quentin Schulz @ 2026-01-20 16:36 UTC (permalink / raw)
  To: antonin.godard, docs; +Cc: Thomas Petazzoni

Hi Antonin,

On 1/20/26 4:17 PM, Antonin Godard via lists.yoctoproject.org wrote:
> After the Poky repository obsolescence, refresh the build directory
> definition. Fix the formatting and indenting issues while at it.
> 
> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
> ---
>   documentation/ref-manual/terms.rst | 46 +++++++++++++++++++++-----------------
>   1 file changed, 25 insertions(+), 21 deletions(-)
> 
> diff --git a/documentation/ref-manual/terms.rst b/documentation/ref-manual/terms.rst
> index 6a9f88061..93a2febc7 100644
> --- a/documentation/ref-manual/terms.rst
> +++ b/documentation/ref-manual/terms.rst
> @@ -63,36 +63,39 @@ universal, the list includes them just in case:
>         This term refers to the area used by the OpenEmbedded build system for
>         builds. The area is created when you ``source`` the setup environment
>         script that is found in the Source Directory
> -      (i.e. :ref:`ref-manual/structure:``oe-init-build-env```). The
> +      (i.e. :ref:`ref-manual/structure:``oe-init-build-env```, or
> +      ``init-build-env`` when using :doc:`bitbake-setup
> +      <bitbake:bitbake-user-manual/bitbake-user-manual-environment-setup>`). The
>         :term:`TOPDIR` variable points to the :term:`Build Directory`.
>   
> -      You have a lot of flexibility when creating the :term:`Build Directory`.
> +      When setting up the build manually (see :doc:`/dev-manual/poky-manual-setup`),
> +      you have a lot of flexibility when creating the :term:`Build Directory`.
>         Here are some examples that show how to create the directory.  The
> -      examples assume your :term:`Source Directory` is named ``poky``:
> +      examples assume your :term:`Source Directory` is named ``project``:
>   
> -         -  Create the :term:`Build Directory` inside your Source Directory and let
> -            the name of the :term:`Build Directory` default to ``build``:
> +      -  Create the :term:`Build Directory` inside your Source Directory and let
> +         the name of the :term:`Build Directory` default to ``build``:
>   
> -            .. code-block:: shell
> +         .. code-block:: console
>   
> -               $ cd poky
> -               $ source oe-init-build-env
> +            $ cd project
> +            $ source layers/openembedded-core/oe-init-build-env
>   
> -         -  Create the :term:`Build Directory` inside your home directory and
> -            specifically name it ``test-builds``:
> +      -  Or create the :term:`Build Directory` inside your current working
> +         directory and specifically name it ``test-builds``:
>   

suggestion: to make more digestable:

Or create the :term:`Build Directory` named ``test-builds`` inside the 
current working directory

> -            .. code-block:: shell
> +         .. code-block:: console
>   
> -               $ source poky/oe-init-build-env test-builds
> +            $ source project/layers/openembedded-core/oe-init-build-env test-builds
>   
> -         -  Provide a directory path and specifically name the
> -            :term:`Build Directory`. Any intermediate folders in the pathname
> -            must exist.  This next example creates a :term:`Build Directory`
> -            named ``YP-&DISTRO;`` within the existing directory ``mybuilds``:
> +      -  Or provide a directory path and specifically name the

suggestion:

Or provide a path relative to the current working directory as 
:term:`Build Directory`.

> +         :term:`Build Directory`. Any intermediate folders in the pathname

suggestion:

Any parent folder of :term:`Build Directory` must exist.

> +         must exist.  This next example creates a :term:`Build Directory`

s/  / /

> +         named ``YP-&DISTRO;`` within the existing directory ``mybuilds``:
>   
> -            .. code-block:: shell
> +         .. code-block:: shell
>   
> -               $ source poky/oe-init-build-env mybuilds/YP-&DISTRO;
> +            $ source project/layers/openembedded-core/oe-init-build-env mybuilds/YP-&DISTRO;

question: do we support absolute paths?

Seems like something we could add a word for here? I think we do but 
I've never tried.

Cheers,
Quentin


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [docs] [PATCH v2 3/5] ref-manual/terms.rst: simplify the Source Directory definition
  2026-01-20 15:17 ` [PATCH v2 3/5] ref-manual/terms.rst: simplify the Source Directory definition Antonin Godard
@ 2026-01-20 16:42   ` Quentin Schulz
  2026-01-20 16:44     ` Quentin Schulz
  2026-01-21 11:09     ` Antonin Godard
  0 siblings, 2 replies; 12+ messages in thread
From: Quentin Schulz @ 2026-01-20 16:42 UTC (permalink / raw)
  To: antonin.godard@bootlin.com, docs@lists.yoctoproject.org; +Cc: Thomas Petazzoni

Hi Antonin,

On 1/20/26 4:17 PM, Antonin Godard via lists.yoctoproject.org wrote:
> Now that we no longer have Poky around, simplify the Source Directory
> definition:
> 
> - Make references to existing documents that show how to create this
>    Source Directory.
> 
> - This directory contains sources, the layout in which they are
>    presented does not matter so much, as it can be different and/or
>    freeform depending on whether we use bitbake-setup or not.
> 
>    The definition chooses "project" as the name of the source directory
>    and is the one that should be used when showing examples in the
>    documentation.
> 
>    A typical Source Directory would look like the following:
> 
>    project/
>    ├── build/
>    └── layers/
> 
> Other parts of the documentation referencing to this as the Poky
> repository still have to be updated.
> 
> This will also mean that this definition will be used a lot less across
> the documentation: in most cases, when the "Source Directory" is
> referenced as the Poky repository, it can be replaced by
> OpenEmbedded-Core, Bitbake, the documentation, or meta-yocto. We'll keep

Not really? The Source Directory will be project/layers/ no?

[...]

> -     For more information on concepts related to Git repositories,
> -     branches, and tags, see the
> -     ":ref:`overview-manual/development-environment:repositories, tags, and branches`"
> -     section in the Yocto Project Overview and Concepts Manual.
> +     The Source Directory contains BitBake, OpenEmbedded-Core (OE-Core),
> +     Documentation, Metadata and other files that all support the Yocto Project.
> +     Consequently, you must have the Source Directory in place on your
> +     development system in order to do any development using the Yocto Project.
>   

You didn't discuss my feedback on v1 here and it's unchanged, so pasting 
the same here:

Isn't Metadata what we used to say about the content of OE-Core? This
way of listing implies to me OE-Core isn't metadata (it is).

Also, it doesn't necessarily need to contain the Documentation (e.g. via
a manual setup).

Finally, we should probably also

s/Source Directory/:term:`Source Directory`/

Cheers,
Quentin


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [docs] [PATCH v2 3/5] ref-manual/terms.rst: simplify the Source Directory definition
  2026-01-20 16:42   ` [docs] " Quentin Schulz
@ 2026-01-20 16:44     ` Quentin Schulz
  2026-01-21 11:09     ` Antonin Godard
  1 sibling, 0 replies; 12+ messages in thread
From: Quentin Schulz @ 2026-01-20 16:44 UTC (permalink / raw)
  To: antonin.godard@bootlin.com, docs@lists.yoctoproject.org; +Cc: Thomas Petazzoni

On 1/20/26 5:42 PM, Quentin Schulz via lists.yoctoproject.org wrote:
> Hi Antonin,
> 
> On 1/20/26 4:17 PM, Antonin Godard via lists.yoctoproject.org wrote:
>> Now that we no longer have Poky around, simplify the Source Directory
>> definition:
>>
>> - Make references to existing documents that show how to create this
>>    Source Directory.
>>
>> - This directory contains sources, the layout in which they are
>>    presented does not matter so much, as it can be different and/or
>>    freeform depending on whether we use bitbake-setup or not.
>>
>>    The definition chooses "project" as the name of the source directory
>>    and is the one that should be used when showing examples in the
>>    documentation.
>>
>>    A typical Source Directory would look like the following:
>>
>>    project/
>>    ├── build/
>>    └── layers/
>>
>> Other parts of the documentation referencing to this as the Poky
>> repository still have to be updated.
>>
>> This will also mean that this definition will be used a lot less across
>> the documentation: in most cases, when the "Source Directory" is
>> referenced as the Poky repository, it can be replaced by
>> OpenEmbedded-Core, Bitbake, the documentation, or meta-yocto. We'll keep
> 
> Not really? The Source Directory will be project/layers/ no?
> 

Reading your next patch, no, it'll indeed be project/. This confuses me 
tbh, I don't really like having a Build Directory within the Source 
directory but eh, what can I do about it :)

Ignore this part of the review then.

Cheers,
Quentin


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [docs] [PATCH v2 4/5] dev-manual/poky-manual-setup.rst: mention the Source Directory
  2026-01-20 15:17 ` [PATCH v2 4/5] dev-manual/poky-manual-setup.rst: mention the Source Directory Antonin Godard
@ 2026-01-20 16:44   ` Quentin Schulz
  0 siblings, 0 replies; 12+ messages in thread
From: Quentin Schulz @ 2026-01-20 16:44 UTC (permalink / raw)
  To: antonin.godard, docs; +Cc: Thomas Petazzoni

Hi Antonin,

On 1/20/26 4:17 PM, Antonin Godard via lists.yoctoproject.org wrote:
> After switching to the new definition of "Source Directory", i.e. the
> base directory for your project (which used to be poky), mention it in
> this document on manually setting up the layers for a project. As stated
> in terms.rst, use "project" for the directory name.
> 
> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>

Thanks!
Quentin


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [docs] [PATCH v2 5/5] ref-manual/terms.rst: refresh the OpenEmbedded build system definition
  2026-01-20 15:17 ` [PATCH v2 5/5] ref-manual/terms.rst: refresh the OpenEmbedded build system definition Antonin Godard
@ 2026-01-20 16:46   ` Quentin Schulz
  0 siblings, 0 replies; 12+ messages in thread
From: Quentin Schulz @ 2026-01-20 16:46 UTC (permalink / raw)
  To: antonin.godard, docs; +Cc: Thomas Petazzoni

Hi Antonin,

On 1/20/26 4:17 PM, Antonin Godard via lists.yoctoproject.org wrote:
> Remove the mention of Poky containing BitBake, just mention BitBake.
> 
> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
> ---
>   documentation/ref-manual/terms.rst | 13 +++++--------
>   1 file changed, 5 insertions(+), 8 deletions(-)
> 
> diff --git a/documentation/ref-manual/terms.rst b/documentation/ref-manual/terms.rst
> index ab8eb6123..1e8a9d57d 100644
> --- a/documentation/ref-manual/terms.rst
> +++ b/documentation/ref-manual/terms.rst
> @@ -401,14 +401,11 @@ universal, the list includes them just in case:
>         section for details.
>   
>      :term:`OpenEmbedded Build System`
> -      The build system specific to the Yocto
> -      Project. The OpenEmbedded build system is based on another project
> -      known as "Poky", which uses :term:`BitBake` as the task
> -      executor. Throughout the Yocto Project documentation set, the
> -      OpenEmbedded build system is sometimes referred to simply as "the
> -      build system". If other build systems, such as a host or target build
> -      system are referenced, the documentation clearly states the
> -      difference.
> +      The build system used by the Yocto Project, using :term:`Bitbake` as the
> +      task executor. Throughout the Yocto Project documentation set, the

s/ set// ?

But that already existed before this patch, so

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>

Thanks!
Quentin


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [docs] [PATCH v2 3/5] ref-manual/terms.rst: simplify the Source Directory definition
  2026-01-20 16:42   ` [docs] " Quentin Schulz
  2026-01-20 16:44     ` Quentin Schulz
@ 2026-01-21 11:09     ` Antonin Godard
  1 sibling, 0 replies; 12+ messages in thread
From: Antonin Godard @ 2026-01-21 11:09 UTC (permalink / raw)
  To: quentin.schulz, docs@lists.yoctoproject.org; +Cc: Thomas Petazzoni

Hi,

On Tue Jan 20, 2026 at 5:42 PM CET, Quentin Schulz via lists.yoctoproject.org wrote:
> Hi Antonin,
>
> On 1/20/26 4:17 PM, Antonin Godard via lists.yoctoproject.org wrote:
>> Now that we no longer have Poky around, simplify the Source Directory
>> definition:
>> 
>> - Make references to existing documents that show how to create this
>>    Source Directory.
>> 
>> - This directory contains sources, the layout in which they are
>>    presented does not matter so much, as it can be different and/or
>>    freeform depending on whether we use bitbake-setup or not.
>> 
>>    The definition chooses "project" as the name of the source directory
>>    and is the one that should be used when showing examples in the
>>    documentation.
>> 
>>    A typical Source Directory would look like the following:
>> 
>>    project/
>>    ├── build/
>>    └── layers/
>> 
>> Other parts of the documentation referencing to this as the Poky
>> repository still have to be updated.
>> 
>> This will also mean that this definition will be used a lot less across
>> the documentation: in most cases, when the "Source Directory" is
>> referenced as the Poky repository, it can be replaced by
>> OpenEmbedded-Core, Bitbake, the documentation, or meta-yocto. We'll keep
>
> Not really? The Source Directory will be project/layers/ no?

No, even though I do find it confusing too to call it Source Directory, it is
meant to represent the whole project/ directory as a whole. It was probably more
meaningful when poky was there as poky was some source itself.

We could rename this term by something else but that would mean replacing it
everywhere.

> [...]
>
>> -     For more information on concepts related to Git repositories,
>> -     branches, and tags, see the
>> -     ":ref:`overview-manual/development-environment:repositories, tags, and branches`"
>> -     section in the Yocto Project Overview and Concepts Manual.
>> +     The Source Directory contains BitBake, OpenEmbedded-Core (OE-Core),
>> +     Documentation, Metadata and other files that all support the Yocto Project.
>> +     Consequently, you must have the Source Directory in place on your
>> +     development system in order to do any development using the Yocto Project.
>>   
>
> You didn't discuss my feedback on v1 here and it's unchanged, so pasting 
> the same here:

I think I've missed it, sorry :/

> Isn't Metadata what we used to say about the content of OE-Core? This
> way of listing implies to me OE-Core isn't metadata (it is).

For me metadata is what OpenEmbedded-Core contains but could be
what meta-openembedded contains: it's recipes, classes, etc. But here I agree it
doesn't make sense to be listed.

> Also, it doesn't necessarily need to contain the Documentation (e.g. via
> a manual setup).

True, I'll remove it.

> Finally, we should probably also
>
> s/Source Directory/:term:`Source Directory`/

Thanks,
Antonin

-- 
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-01-21 11:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-20 15:16 [PATCH v2 0/5] Redefine terms now that the Poky repository is obsolete Antonin Godard
2026-01-20 15:17 ` [PATCH v2 1/5] ref-manual/terms.rst: refresh the Build Directory definition Antonin Godard
2026-01-20 16:36   ` [docs] " Quentin Schulz
2026-01-20 15:17 ` [PATCH v2 2/5] ref-manual/terms.rst: refresh the OpenEmbedded-Core definition Antonin Godard
2026-01-20 15:17 ` [PATCH v2 3/5] ref-manual/terms.rst: simplify the Source Directory definition Antonin Godard
2026-01-20 16:42   ` [docs] " Quentin Schulz
2026-01-20 16:44     ` Quentin Schulz
2026-01-21 11:09     ` Antonin Godard
2026-01-20 15:17 ` [PATCH v2 4/5] dev-manual/poky-manual-setup.rst: mention the Source Directory Antonin Godard
2026-01-20 16:44   ` [docs] " Quentin Schulz
2026-01-20 15:17 ` [PATCH v2 5/5] ref-manual/terms.rst: refresh the OpenEmbedded build system definition Antonin Godard
2026-01-20 16:46   ` [docs] " Quentin Schulz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox