Skip to contentSkip to conversation

Remove obsolete poky repo references

PATCH Superseded Antonin Godard 2 participants 92 messages Jan 27 – Jan 29

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover Remove obsolete poky repo references

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

Many places in the documentation were still making references to Poky as in the repository. Migrate the documentation in two steps:

Check all occurrences of "poky" or "source directory" (case-insensitive/multiline match), and reformulate/adapt.

Most of the occurrences will usually be a path in Poky that can be replaced by OE-Core/meta-yocto.

Some others are more tricky, and needed some re-organization / rework. For that reason, patch were split by files, to make reviewing/merging easier and incremental.

This series depends on the "Redefine terms now that the Poky repository is obsolete" series which redefines terms used to replaces occurrences here.

---
Changes in v2:
- Rename "project" to "bitbake-builds" across the whole series, to match
the default naming of bitbake-setup.
- Apply Reviewed-by trailers from Quentin on patches with no
modifications. Reviewed-by trailers on modified patches were not
applied.
- Apply the suggestions from Quentin on the v1. Thanks a lot Quentin for
the thorough review.
- Link to v1: https://patch.msgid.link/[email protected]

---
Antonin Godard (56):
transitioning-to-a-custom-environment.rst: remove obsolete poky repo references dev-manual/poky-manual-setup.rst: remove obsolete poky repo references dev-manual/start.rst: remove obsolete poky repo references bsp-guide/bsp.rst: remove obsolete poky repo references kernel-dev/advanced.rst: remove obsolete poky repo references contributor-guide/submit-changes.rst: remove obsolete poky repo references dev-manual/building.rst: remove obsolete poky repo references dev-manual/debugging.rst: remove obsolete poky repo references dev-manual/error-reporting-tool.rst: remove obsolete poky repo references dev-manual/external-toolchain.rst: remove obsolete poky repo references dev-manual/layers.rst: remove obsolete poky repo references dev-manual/layers.rst: remove obsolete poky repo references dev-manual/libraries.rst: remove obsolete poky repo references dev-manual/new-recipe.rst: remove obsolete poky repo references dev-manual/securing-images.rst: remove obsolete poky repo references dev-manual/temporary-source-code.rst: remove obsolete poky repo references dev-manual/wayland.rst: remove obsolete poky repo references dev-manual/wic.rst: remove obsolete poky repo references kernel-dev/common.rst: remove obsolete poky repo references migration-guides/migration-1.4.rst: remove obsolete poky repo references overview-manual/concepts.rst: remove obsolete poky repo references overview-manual/development-environment.rst: remove obsolete poky repo references overview-manual/yp-intro.rst: remove obsolete poky repo references ref-manual/classes.rst: remove obsolete poky repo references ref-manual/images.rst: remove obsolete poky repo references ref-manual/structure.rst: remove obsolete poky repo references ref-manual/tasks.rst: remove obsolete poky repo references ref-manual/variables.rst: remove obsolete poky repo references sdk-manual/appendix-obtain.rst: remove obsolete poky repo references sdk-manual/intro.rst: remove obsolete poky repo references test-manual/runtime-testing.rst: remove obsolete poky repo references
README: remove obsolete poky repo references
README: replace obsolete substitution variables contributor-guide/identify-component.rst: remove obsolete poky repo references dev-manual/build-quality.rst: remove obsolete poky repo references dev-manual/custom-distribution.rst: remove obsolete poky repo references dev-manual/custom-template-configuration-directory.rst: remove obsolete poky repo references dev-manual/init-manager.rst: remove obsolete poky repo references dev-manual/licenses.rst: remove obsolete poky repo references dev-manual/licenses.rst: instruct to use git-archive instead of removing .git dev-manual/packages.rst: remove obsolete poky repo references dev-manual/python-development-shell.rst: remove obsolete poky repo references dev-manual/qemu.rst: remove obsolete poky repo references dev-manual/upgrading-recipes.rst: remove obsolete poky repo references dev-manual/vulnerabilities.rst: remove obsolete poky repo references ref-manual/devtool-reference.rst: remove obsolete poky repo references ref-manual/faq.rst: remove obsolete poky repo references ref-manual/features.rst: remove obsolete poky repo references ref-manual/release-process.rst: remove obsolete poky repo references ref-manual/release-process.rst: remove repeated "in the" ref-manual/system-requirements.rst: remove obsolete poky repo references ref-manual/system-requirements.rst: fix wrong path to install-buildtools ref-manual/yocto-project-supported-features.rst: remove obsolete poky repo reference test-manual/reproducible-builds.rst: remove obsolete poky repo references test-manual/understand-autobuilder.rst: remove obsolete poky repo references what-i-wish-id-known.rst: remove obsolete poky repo references

 documentation/README                               |  43 +--
 documentation/brief-yoctoprojectqs/index.rst       |   2 +-
 documentation/bsp-guide/bsp.rst                    | 165 ++++-------
 .../contributor-guide/identify-component.rst       |   9 -
 documentation/contributor-guide/submit-changes.rst |  57 +---
 documentation/dev-manual/build-quality.rst         |   2 +-
 documentation/dev-manual/building.rst              |  40 +--
 documentation/dev-manual/custom-distribution.rst   |   8 +-
 .../custom-template-configuration-directory.rst    |   8 +-
 documentation/dev-manual/debugging.rst             |  16 +-
 documentation/dev-manual/error-reporting-tool.rst  |   3 +-
 documentation/dev-manual/external-toolchain.rst    |   2 +-
 documentation/dev-manual/init-manager.rst          |   6 +-
 documentation/dev-manual/layers.rst                | 308 ++++++++------------
 documentation/dev-manual/libraries.rst             |   8 +-
 documentation/dev-manual/licenses.rst              |  32 +-
 documentation/dev-manual/new-recipe.rst            |  25 +-
 documentation/dev-manual/packages.rst              |  11 +-
 documentation/dev-manual/poky-manual-setup.rst     |  29 +-
 .../dev-manual/python-development-shell.rst        |   2 +-
 documentation/dev-manual/qemu.rst                  |  11 +-
 documentation/dev-manual/start.rst                 | 324 +++------------------
 documentation/dev-manual/temporary-source-code.rst |   4 +-
 documentation/dev-manual/upgrading-recipes.rst     |  22 +-
 documentation/dev-manual/wayland.rst               |   2 +-
 documentation/dev-manual/wic.rst                   |  20 +-
 documentation/kernel-dev/advanced.rst              |  12 +-
 documentation/kernel-dev/common.rst                | 154 ++++------
 documentation/migration-guides/migration-1.4.rst   |   2 +-
 documentation/overview-manual/concepts.rst         |  76 ++---
 .../overview-manual/development-environment.rst    | 104 +++----
 .../figures/poky-reference-distribution.png        | Bin 23784 -> 0 bytes
 documentation/overview-manual/yp-intro.rst         | 155 ++--------
 documentation/ref-manual/classes.rst               |  34 ++-
 documentation/ref-manual/devtool-reference.rst     |  10 +-
 documentation/ref-manual/faq.rst                   |  43 ++-
 documentation/ref-manual/features.rst              |   2 +-
 documentation/ref-manual/fragments.rst             |   2 +
 documentation/ref-manual/images.rst                |   5 +-
 documentation/ref-manual/release-process.rst       |   8 +-
 documentation/ref-manual/structure.rst             | 174 ++++++-----
 documentation/ref-manual/system-requirements.rst   |  16 +-
 documentation/ref-manual/tasks.rst                 |  10 +-
 documentation/ref-manual/terms.rst                 |   2 +-
 documentation/ref-manual/variables.rst             | 149 +++++-----
 .../yocto-project-supported-features.rst           |   2 +-
 documentation/sdk-manual/appendix-obtain.rst       |  29 +-
 documentation/sdk-manual/intro.rst                 |   8 +-
 documentation/security-manual/securing-images.rst  |   9 +-
 documentation/security-manual/vulnerabilities.rst  |  20 +-
 documentation/test-manual/reproducible-builds.rst  |   8 +-
 documentation/test-manual/runtime-testing.rst      |   4 +-
 .../test-manual/understand-autobuilder.rst         |   6 +-
 .../transitioning-to-a-custom-environment.rst      |  21 +-
 documentation/what-i-wish-id-known.rst             |   5 +-
 55 files changed, 807 insertions(+), 1422 deletions(-)

---
base-commit: f43bb42123928181d76f81c0343ece777ac143d0
change-id: 20251224-remove-poky-references-316294b3557f
prerequisite-change-id: 20251224-terms-refresh-cdcd529ee508:v3
prerequisite-patch-id: 28a8d58b852a13391a97f6488bc59721f5efda86
prerequisite-patch-id: 39e885d60801727fff2c835f0c1904287a8223ad
prerequisite-patch-id: 60b57a0baefe0536612ed8c9dff680234c52eed6
prerequisite-patch-id: ef2fccb1181fd736f5713197040c52667c4b469e
prerequisite-patch-id: d641f824c2d4e7ff9506f9007102ebf3b112564f

#1 lore raw

PATCH v2 1/56 transitioning-to-a-custom-environment.rst: remove obsolete poky repo references

- Use :term: for Poky.
- Mention use of fragments instead of local.conf.
- Remove Yocto < 2.4 reference.

---
 .../transitioning-to-a-custom-environment.rst          | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)
documentation/transitioning-to-a-custom-environment.rst +8 -10
index a5f55c567..e292399f4 100644
@@ -39,7 +39,7 @@ Transitioning to a custom environment for systems development
    that you've downloaded. Be aware that some BSPs may not be immediately
    supported on the very latest release, but they will be eventually.
 
-   You might want to start with the build specification that Poky provides
+   You might want to start with the build specification that :term:`Poky` provides
    (which is reference embedded distribution) and then add your newly chosen
    layers to that. Here is the information :ref:`about adding layers
    <dev-manual/layers:Understanding and Creating Layers>`.
@@ -48,16 +48,14 @@ Transitioning to a custom environment for systems development
    configuration**.
    For instance, you've chosen a machine type and added in the corresponding BSP
    layer. You'll then need to change the value of the :term:`MACHINE` variable in your
-   configuration file (build/local.conf) to point to that same machine
-   type. There could be other layer-specific settings you need to change as
-   well. Each layer has a ``README`` document that you can look at for this type of
-   usage information.
+   configuration (using the :ref:`ref-fragments-builtin-core-machine`
+   fragment) to point to that same machine type. There could be other
+   layer-specific settings you need to change as well. Each layer has a
+   ``README`` document that you can look at for this type of usage information.
 
 #. **Add a new layer for any custom recipes and metadata you create**.
-   Use the ``bitbake-layers create-layer`` tool for Yocto Project 2.4+
-   releases. If you are using a Yocto Project release earlier than 2.4, use the
-   ``yocto-layer create`` tool. The ``bitbake-layers`` tool also provides a number
-   of other useful layer-related commands. See
+   Use the ``bitbake-layers create-layer`` command. The ``bitbake-layers`` tool
+   also provides a number of other useful layer-related commands. See
    :ref:`dev-manual/layers:creating a general layer using the
    \`\`bitbake-layers\`\` script` section.
 
@@ -99,7 +97,7 @@ Transitioning to a custom environment for systems development
 
    Distribution settings define the packaging back-end (e.g. rpm or other) as
    well as the package feed and possibly the update solution. You would create
-   your own distribution in a new layer inheriting from Poky but overriding what
+   your own distribution in a new layer inheriting from :term:`Poky` but overriding what
    needs to change for your distribution. If you find yourself adding a lot of
    configuration to your local.conf file aside from paths and other typical
    local settings, it's time to :ref:`consider creating your own distribution
Signature · 1 line
2.52.0
#2 lore raw

PATCH v2 2/56 dev-manual/poky-manual-setup.rst: remove obsolete poky repo references

In reply to Antonin Godard

The commit "dev-manual/start.rst: simplify the document after poky obsolescence" removed some of the information related to source archives published on downloads.yoctoproject.org. Mention it in this document as it makes sense to use those when manually setting up a Poky build.

---
 documentation/dev-manual/poky-manual-setup.rst | 29 +++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)
documentation/dev-manual/poky-manual-setup.rst +28 -1
index 4bc9b97b6..2b1c3f63d 100644
@@ -13,8 +13,17 @@ document guides through this setup step-by-step.
    :doc:`/brief-yoctoprojectqs/index`, which shows how to setup :term:`Poky`
    with ``bitbake-setup``.
 
+Obtaining The Source Repositories
+=================================
+
+You can obtain the source repositories required to build the Poky reference
+distro in two ways described below: :ref:`cloning the repositories with Git
+<dev-manual/poky-manual-setup:Use Git to Clone The Layers>`, or
+:ref:`downloading the released archives <dev-manual/poky-manual-setup:Using the
+Source Archives>`.
+
 Use Git to Clone The Layers
-===========================
+---------------------------
 
 Go to the :yocto_home:`Releases </development/releases/>` page, and choose a release
 (such as ``&DISTRO_REL_LATEST_TAG;``), corresponding to either the latest stable
@@ -42,6 +51,24 @@ following commands:
    $ git clone -b &DISTRO_REL_LATEST_TAG; https://git.openembedded.org/openembedded-core ./layers/openembedded-core
    $ git clone -b &DISTRO_REL_LATEST_TAG; https://git.yoctoproject.org/meta-yocto ./layers/meta-yocto
 
+
+Using the Source Archives
+-------------------------
+
+The Yocto Project also provides source archives of its releases, which
+are available at :yocto_dl:`/releases/yocto/`. Then, choose the subdirectory
+containing the release you wish to use, for example
+:yocto_dl:`&DISTRO_REL_LATEST_TAG; </releases/yocto/&DISTRO_REL_LATEST_TAG;/>`.
+
+You will find there source archives of :term:`OpenEmbedded-Core (OE-Core)`,
+:term:`BitBake`, and :yocto_git:`meta-yocto </meta-yocto>`.
+
+.. note::
+
+   The recommended method for accessing Yocto Project components is to :ref:`use
+   Git to clone the upstream repository <dev-manual/poky-manual-setup:Use Git to
+   Clone The Layers>` and work from within the locally cloned repositories.
+
 Building Your Image
 ===================
 
Signature · 1 line
2.52.0
Reviewed-by on v2 2/56
#3 lore raw

Re: [docs] [PATCH v2 02/56] dev-manual/poky-manual-setup.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 6 lines · Antonin Godard via lists.yoctoproject.org

The commit "dev-manual/start.rst: simplify the document after poky obsolescence" removed some of the information related to source archives published on downloads.yoctoproject.org. Mention it in this document as it makes sense to use those when manually setting up a Poky build.

Thanks!
Quentin

#4 lore raw

PATCH v2 3/56 dev-manual/start.rst: remove obsolete poky repo references

In reply to Antonin Godard

The Poky repository has stopped being updated in favor of bitbake-setup or manual clones of the required repositories. Simplify the document by making references to these guides as well as removing sections that are covered in the references documents.

Keep a "Initializing the Build Environment" as this task is common and referenced in different places in the documentation.

Remove the tarball instructions as those will be moved in the poky-manual-setup document.

---
 documentation/bsp-guide/bsp.rst                    |   7 +-
 documentation/dev-manual/start.rst                 | 324 +++------------------
 documentation/kernel-dev/common.rst                |  36 +--
 .../overview-manual/development-environment.rst    |  21 +-
 documentation/ref-manual/structure.rst             |   5 -
 documentation/sdk-manual/appendix-obtain.rst       |  27 +-
 6 files changed, 49 insertions(+), 371 deletions(-)
documentation/bsp-guide/bsp.rst +2 -5
index a6444d9af..056f69249 100644
@@ -72,7 +72,7 @@ For information on typical BSP development workflow, see the
 section. For more
 information on how to set up a local copy of source files from a Git
 repository, see the
-:ref:`dev-manual/start:locating yocto project source files`
+:doc:`/dev-manual/poky-manual-setup`
 section in the Yocto Project Development Tasks Manual.
 
 The BSP layer's base directory (``meta-bsp_root_name``) is the root
@@ -204,10 +204,7 @@ section.
       .. note::
 
          To see the available branch names in a cloned repository, use the ``git
-         branch -a`` command. See the
-         ":ref:`dev-manual/start:checking out by branch in poky`"
-         section in the Yocto Project Development Tasks Manual for more
-         information.
+         branch -a`` command.
 
 #. *Optionally Set Up an Alternative BSP Layer:* If your hardware can be
    more closely leveraged to an existing BSP not within the
documentation/dev-manual/start.rst +41 -283

371 lines not on this page · raw message

documentation/kernel-dev/common.rst +4 -32
index c0df39e39..1e098c158 100644
@@ -22,21 +22,13 @@ Preparing the Build Host to Work on the Kernel
 Before you can do any kernel development, you need to be sure your build
 host is set up to use the Yocto Project. For information on how to get
 set up, see the ":doc:`/dev-manual/start`" section in
-the Yocto Project Development Tasks Manual. Part of preparing the system
-is creating a local Git repository of the
-:term:`Source Directory` (``poky``) on your system. Follow the steps in the
-":ref:`dev-manual/start:cloning the \`\`poky\`\` repository`"
-section in the Yocto Project Development Tasks Manual to set up your
-Source Directory.
+the Yocto Project Development Tasks Manual.
 
 .. note::
 
    Be sure you check out the appropriate development branch or you
    create your local branch by checking out a specific tag to get the
-   desired version of Yocto Project. See the
-   ":ref:`dev-manual/start:checking out by branch in poky`" and
-   ":ref:`dev-manual/start:checking out by tag in poky`"
-   sections in the Yocto Project Development Tasks Manual for more information.
+   desired version of Yocto Project.
 
 Kernel development is best accomplished using
 :ref:`devtool <sdk-manual/extensible:using \`\`devtool\`\` in your sdk workflow>`
@@ -158,28 +150,8 @@ this procedure leaves you ready to make modifications to the kernel
 source as described in the ":ref:`kernel-dev/common:using traditional kernel development to patch the kernel`"
 section:
 
-#. *Initialize the BitBake Environment:* Before you can do anything
-   using BitBake, you need to initialize the BitBake build environment
-   by sourcing the build environment script (i.e.
-   :ref:`structure-core-script`).
-   Also, for this example, be sure that the local branch you have
-   checked out for ``poky`` is the Yocto Project &DISTRO_NAME; branch. If
-   you need to checkout out the &DISTRO_NAME; branch, see the
-   ":ref:`dev-manual/start:checking out by branch in poky`"
-   section in the Yocto Project Development Tasks Manual::
-
-      $ cd poky
-      $ git branch
-      master
-      * &DISTRO_NAME_NO_CAP;
-      $ source oe-init-build-env
-
-   .. note::
-
-      The previous commands assume the
-      :ref:`overview-manual/development-environment:yocto project source repositories`
-      (i.e. ``poky``) have been cloned using Git and the local repository is named
-      "poky".
+#. *Initialize the BitBake Environment:* Follow the steps in the
+   :doc:`/dev-manual/start` section of the Yocto Project Development Tasks Manual.
 
 #. *Prepare Your local.conf File:* By default, the :term:`MACHINE` variable is
    set to "qemux86-64", which is fine if you are building for the QEMU emulator
documentation/overview-manual/development-environment.rst +1 -20
index 066d78431..ab9bd084c 100644
@@ -184,15 +184,6 @@ development:
    .. image:: figures/source-repos.png
       :width: 100%
 
-   For steps on how to view and access these upstream Git repositories,
-   see the ":ref:`dev-manual/start:accessing source repositories`"
-   Section in the Yocto Project Development Tasks Manual.
-
--  :yocto_dl:`Yocto release archives: </releases/yocto>` This is where you can
-   download tarballs corresponding to each Yocto Project release. Downloading
-   and extracting these files does not produce a local copy of a Git repository
-   but rather a snapshot corresponding to a particular release.
-
 -  :yocto_home:`DOWNLOADS page </software-overview/downloads/>`:
    The :yocto_home:`Yocto Project website <>` includes a "DOWNLOADS" page accessible
    through the "SOFTWARE" menu that allows you to download any Yocto
@@ -203,10 +194,6 @@ development:
    .. image:: figures/yp-download.png
       :width: 100%
 
-   For steps on how to use the "DOWNLOADS" page, see the
-   ":ref:`dev-manual/start:using the downloads page`"
-   section in the Yocto Project Development Tasks Manual.
-
 Git Workflows and the Yocto Project
 ===================================
 
@@ -372,10 +359,6 @@ commands.
       Ubuntu, use the Ubuntu Software feature). For the Git download
       page, see https://git-scm.com/download.
 
-   -  For information beyond the introductory nature in this section,
-      see the ":ref:`dev-manual/start:locating yocto project source files`"
-      section in the Yocto Project Development Tasks Manual.
-
 Repositories, Tags, and Branches
 --------------------------------
 
@@ -403,9 +386,7 @@ You can create a local copy of any repository by "cloning" it with the
 ``git clone`` command. When you clone a Git repository, you end up with
 an identical copy of the repository on your development system. Once you
 have a local copy of a repository, you can take steps to develop
-locally. For examples on how to clone Git repositories, see the
-":ref:`dev-manual/start:locating yocto project source files`"
-section in the Yocto Project Development Tasks Manual.
+locally.
 
 It is important to understand that Git tracks content change and not
 files. Git uses "branches" to organize different development efforts.
documentation/ref-manual/structure.rst +0 -5
index c0eae9b7b..d567cade0 100644
@@ -10,11 +10,6 @@ contents is key to using the Yocto Project effectively. This chapter
 describes the Source Directory and gives information about those files
 and directories.
 
-For information on how to establish a local Source Directory on your
-development system, see the
-":ref:`dev-manual/start:locating yocto project source files`"
-section in the Yocto Project Development Tasks Manual.
-
 .. note::
 
    The OpenEmbedded build system does not support file or directory
documentation/sdk-manual/appendix-obtain.rst +1 -26
index 83eefecd6..fb2326fac 100644
@@ -94,36 +94,11 @@ As an alternative to locating and downloading an SDK installer, you can
 build the SDK installer. Follow these steps:
 
 #. *Set Up the Build Environment:* Be sure you are set up to use BitBake
-   in a shell. See the ":ref:`dev-manual/start:preparing the build host`" section
+   in a shell. See the ":doc:`/dev-manual/start`" section
    in the Yocto Project Development Tasks Manual for information on how
    to get a build host ready that is either a native Linux machine or a
    machine that uses CROPS.
 
-#. *Clone the ``poky`` Repository:* You need to have a local copy of the
-   Yocto Project :term:`Source Directory`
-   (i.e. a local
-   ``poky`` repository). See the ":ref:`dev-manual/start:cloning the \`\`poky\`\` repository`" and
-   possibly the ":ref:`dev-manual/start:checking out by branch in poky`" and
-   ":ref:`dev-manual/start:checking out by tag in poky`" sections
-   all in the Yocto Project Development Tasks Manual for information on
-   how to clone the ``poky`` repository and check out the appropriate
-   branch for your work.
-
-#. *Initialize the Build Environment:* While in the root directory of
-   the Source Directory (i.e. ``poky``), run the
-   :ref:`structure-core-script` environment
-   setup script to define the OpenEmbedded build environment on your
-   build host:
-
-   .. code-block:: console
-
-      $ source oe-init-build-env
-
-   Among other things, the script creates the :term:`Build Directory`, which
-   is ``build`` in this case and is located in the Source Directory. After
-   the script runs, your current working directory is set to the ``build``
-   directory.
-
 #. *Make Sure You Are Building an Installer for the Correct Machine:*
    Check to be sure that your :term:`MACHINE` variable in the ``local.conf``
    file in your :term:`Build Directory` matches the architecture
Signature · 1 line
2.52.0
Reviewed-by on v2 3/56
#5 lore raw

Re: [docs] [PATCH v2 03/56] dev-manual/start.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 11 lines · Antonin Godard via lists.yoctoproject.org

The Poky repository has stopped being updated in favor of bitbake-setup or manual clones of the required repositories. Simplify the document by making references to these guides as well as removing sections that are covered in the references documents.

Keep a "Initializing the Build Environment" as this task is common and referenced in different places in the documentation.

Remove the tarball instructions as those will be moved in the poky-manual-setup document.

Weren't they moved in the previous patch?

Quoted 2 lines

---

[...]

documentation/dev-manual/start.rst the `Yocto Project BitBake · line 607

Quoted 5 lines
documentation/dev-manual/start.rst +2 -3
-You will find there source archives of individual components (if you wish
-to use them individually), and of the corresponding Poky release bundling
-a selection of these components.
+Initializing the build environment is a common task, as it needs to be done for
+each new instance of the shell where the :term:`Poky` reference was set up:

+distro?

With that,

Thanks!
Quentin

#6 lore raw

PATCH v2 4/56 bsp-guide/bsp.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core in most cases, and refer to bitbake-setup or the manual setup in the intro.

---
 documentation/bsp-guide/bsp.rst | 154 +++++++++++++---------------------------
 1 file changed, 50 insertions(+), 104 deletions(-)
documentation/bsp-guide/bsp.rst +50 -104
index 056f69249..49527f45d 100644
@@ -62,8 +62,8 @@ Here is an example that clones the Raspberry Pi BSP layer::
 
    $ git clone git://git.yoctoproject.org/meta-raspberrypi
 
-In addition to BSP layers, the ``meta-yocto-bsp`` layer is part of the
-shipped ``poky`` repository. The ``meta-yocto-bsp`` layer maintains
+In addition to BSP layers, the ``meta-yocto-bsp`` layer is part of
+:yocto_git:`meta-yocto </meta-yocto>`. The ``meta-yocto-bsp`` layer maintains
 several "reference" BSPs including the ARM-based Beaglebone and generic
 versions of both 32-bit and 64-bit IA machines.
 
@@ -150,24 +150,23 @@ section.
    to get a build host ready that is either a native Linux machine or a machine
    that uses CROPS.
 
-#. *Clone the poky Repository:* You need to have a local copy of the
-   Yocto Project :term:`Source Directory` (i.e. a local
-   ``poky`` repository). See the
-   ":ref:`dev-manual/start:cloning the \`\`poky\`\` repository`" and
-   possibly the
-   ":ref:`dev-manual/start:checking out by branch in poky`" or
-   ":ref:`dev-manual/start:checking out by tag in poky`"
-   sections
-   all in the Yocto Project Development Tasks Manual for information on
-   how to clone the ``poky`` repository and check out the appropriate
-   branch for your work.
+#. *Prepare the Source Repositories*:
+
+   There are two ways of setting up the :term:`Poky` reference distro:
+
+   -  Using the ``bitbake-setup`` command-line utility from :term:`BitBake`.
+      Follow:
+
+      :doc:`Setting Up The Environment With bitbake-setup <bitbake:bitbake-user-manual/bitbake-user-manual-environment-setup>`
+
+   -  Manually cloning the required repositories. Follow:
+
+      :doc:`/dev-manual/poky-manual-setup`
 
 #. *Determine the BSP Layer You Want:* The Yocto Project supports many
    BSPs, which are maintained in their own layers or in layers designed
-   to contain several BSPs. To get an idea of machine support through
-   BSP layers, you can look at the
-   :yocto_dl:`index of machines </releases/yocto/&DISTRO_REL_LATEST_TAG;/machines>`
-   for the release.
+   to contain several BSPs. The :oe_layerindex:`Layer Index <>` can help finding
+   BSP layers to use.
 
 #. *Optionally Clone the meta-intel BSP Layer:* If your hardware is
    based on current Intel CPUs and devices, you can leverage this BSP
@@ -175,10 +174,7 @@ section.
    :yocto_git:`README </meta-intel/tree/README.md>` file.
 
    #. *Navigate to Your Source Directory:* Typically, you set up the
-      ``meta-intel`` Git repository inside the :term:`Source Directory` (e.g.
-      ``poky``). ::
-
-         $ cd /home/you/poky
+      ``meta-intel`` Git repository next to the other layers in your build.
 
    #. *Clone the Layer:* ::
 
@@ -224,18 +220,21 @@ section.
       Resolving deltas: 100% (2447/2447), done.
       Checking connectivity... done.
 
-#. *Initialize the Build Environment:* While in the root directory of
-   the Source Directory (i.e. ``poky``), run the
-   :ref:`ref-manual/structure:``oe-init-build-env``` environment
-   setup script to define the OpenEmbedded build environment on your
-   build host. ::
+#. *Initialize the Build Environment:* While in the :term:`Source Directory`,
+run the :ref:`ref-manual/structure:``oe-init-build-env``` environment setup
+script located in :term:`OpenEmbedded-Core (OE-Core)` to define the OpenEmbedded
+build environment on your build host. ::
 
-      $ source oe-init-build-env
+      $ source layers/openembedded-core/oe-init-build-env
 
    Among other things, the script creates the :term:`Build Directory`, which is
-   ``build`` in this case and is located in the :term:`Source Directory`.  After
-   the script runs, your current working directory is set to the ``build``
-   directory.
+   :term:`Build Directory`. After the script runs, your current working directory is set to
+   the :term:`Build Directory` directory.
+
+   .. note::
+
+      Alternatively, you can source the ``init-build-env`` file provided by
+      :doc:`bitbake-setup <bitbake:bitbake-user-manual/bitbake-user-manual-environment-setup>` 
 
 Example Filesystem Layout
 =========================
@@ -597,10 +596,10 @@ optimization flags, which are carefully chosen to give best performance
 on a given processor.
 
 Tuning files are found in the ``meta/conf/machine/include`` directory
-within the :term:`Source Directory`.
+within :term:`OpenEmbedded-Core (OE-Core)`.
 For example, many ``tune-*`` files (e.g. ``tune-arm1136jf-s.inc``,
 ``tune-1586-nlp.inc``, and so forth) reside in the
-``poky/meta/conf/machine/include`` directory.
+``meta/conf/machine/include`` directory.
 
 To use an include file, you simply include them in the machine
 configuration file. For example, the Raspberry Pi BSP
@@ -636,7 +635,7 @@ directory. Here is the ``machconfig`` file for the Raspberry Pi BSP::
    according to the formfactor configuration file that is installed by
    the main formfactor recipe
    ``meta/recipes-bsp/formfactor/formfactor_0.0.bb``, which is found in
-   the :term:`Source Directory`.
+   :term:`OpenEmbedded-Core (OE-Core)`.
 
 Display Support Files
 ---------------------
@@ -664,7 +663,7 @@ types of files although, in practice, it is likely that you would have
 one or the other.
 
 For your BSP, you typically want to use an existing Yocto Project kernel
-recipe found in the :term:`Source Directory`
+recipe found in :term:`OpenEmbedded-Core (OE-Core)`
 at
 ``meta/recipes-kernel/linux``. You can append machine-specific changes
 to the kernel recipe by using a similarly named append file, which is
@@ -766,20 +765,23 @@ workflow.
 
    .. note::
 
-      -  There are three hardware reference BSPs in the Yocto
-         Project release, located in the ``poky/meta-yocto-bsp``
+      -  There are four hardware reference BSPs in the Yocto
+         Project release, located in the :yocto_git:`meta-yocto-bsp
+         </meta-yocto/tree/meta-yocto-bsp>`
          BSP layer:
 
          -  Texas Instruments Beaglebone (``beaglebone-yocto``)
 
          -  Two generic IA platforms (``genericx86`` and ``genericx86-64``)
 
+         -  A generic ARM 64 platform (``genericarm64``)
+
    When you set up a layer for a new BSP, you should follow a standard
    layout. This layout is described in the ":ref:`bsp-guide/bsp:example filesystem layout`"
    section. In the standard layout, notice
    the suggested structure for recipes and configuration information.
    You can see the standard layout for a BSP by examining any supported
-   BSP found in the ``meta-intel`` layer inside the Source Directory.
+   BSP found in the :yocto_git:`meta-intel </meta-intel>` layer.
 
 #. *Make Configuration Changes to Your New BSP Layer:* The standard BSP
    layer structure organizes the files you need to edit in ``conf`` and
@@ -861,9 +863,8 @@ The requirements for a released BSP that conform to the Yocto Project are:
 
 -  *File System Layout:* When possible, use the same directory names in
    your BSP layer as listed in the ``recipes.txt`` file, which is found
-   in ``poky/meta`` directory of the :term:`Source Directory`
-   or in the OpenEmbedded-Core Layer (``openembedded-core``) at
-   :oe_git:`/openembedded-core/tree/meta`.
+   in :oe_git:`meta </openembedded-core/tree/meta>` directory of
+   :term:`OpenEmbedded-Core (OE-Core)`.
 
    You should place recipes (``*.bb`` files) and recipe modifications
    (``*.bbappend`` files) into ``recipes-*`` subdirectories by
@@ -872,8 +873,8 @@ The requirements for a released BSP that conform to the Yocto Project are:
    up your own ``recipes-*`` subdirectory.
 
    Within any particular ``recipes-*`` category, the layout should match
-   what is found in the OpenEmbedded-Core Git repository
-   (``openembedded-core``) or the Source Directory (``poky``). In other
+   what is found in the :term:`OpenEmbedded-Core (OE-Core)` Git repository.
+   In other
    words, make sure you place related files in appropriately-related
    ``recipes-*`` subdirectories specific to the recipe's function, or
    within a subdirectory containing a set of closely-related recipes.
@@ -1169,7 +1170,7 @@ Use these steps to create a BSP layer:
 
 -  *Create a Machine Configuration File:* Create a
    ``conf/machine/bsp_root_name.conf`` file. See
-   :yocto_git:`meta-yocto-bsp/conf/machine </poky/tree/meta-yocto-bsp/conf/machine>`
+   :yocto_git:`meta-yocto-bsp/conf/machine </meta-yocto/tree/meta-yocto-bsp/conf/machine>`
    for sample ``bsp_root_name.conf`` files. There are other samples such as
    :yocto_git:`meta-ti </meta-ti/tree/meta-ti-bsp/conf/machine>`
    and
@@ -1187,7 +1188,7 @@ Use these steps to create a BSP layer:
 
 The remainder of this section provides a description of the Yocto
 Project reference BSP for Beaglebone, which resides in the
-:yocto_git:`meta-yocto-bsp </poky/tree/meta-yocto-bsp>`
+:yocto_git:`meta-yocto-bsp </meta-yocto/tree/meta-yocto-bsp>`
 layer.
 
 BSP Layer Configuration Example
@@ -1235,63 +1236,8 @@ There are one or more machine configuration files in the
 
 For example, the machine configuration file for the `BeagleBone and
 BeagleBone Black development boards <https://beagleboard.org/bone>`__ is
-located in :yocto_git:`poky/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
-</poky/tree/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf>`::
-
-   #@TYPE: Machine
-   #@NAME: Beaglebone-yocto machine
-   #@DESCRIPTION: Reference machine configuration for http://beagleboard.org/bone and http://beagleboard.org/black boards
-
-   PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
-
-   MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
-
-   EXTRA_IMAGEDEPENDS += "virtual/bootloader"
-
-   DEFAULTTUNE ?= "cortexa8hf-neon"
-   include conf/machine/include/arm/armv7a/tune-cortexa8.inc
-
-   IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap"
-   EXTRA_IMAGECMD:jffs2 = "-lnp "
-   WKS_FILE ?= "beaglebone-yocto.wks"
-   MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image kernel-devicetree"
-   do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot virtual/bootloader:do_deploy"
-
-   SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0 115200;ttyAMA0"
-
-   PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
-   PREFERRED_VERSION_linux-yocto ?= "6.12%"
-
-   KERNEL_IMAGETYPE = "zImage"
-   DTB_FILES = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
-   KERNEL_DEVICETREE = '${@' '.join('ti/omap/%s' % d for d in '${DTB_FILES}'.split())}'
-
-   PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
-
-   SPL_BINARY = "MLO"
-   UBOOT_SUFFIX = "img"
-   UBOOT_MACHINE = "am335x_evm_defconfig"
-
-   MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
-
-   IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} ${SPL_BINARY} ${KERNEL_IMAGETYPE} ${DTB_FILES}"
-
-   # support runqemu
-   EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
-   IMAGE_CLASSES += "qemuboot"
-   QB_DEFAULT_FSTYPE = "wic"
-   QB_FSINFO = "wic:no-kernel-in-fs"
-   QB_KERNEL_ROOT = "/dev/vda2"
-   QB_SYSTEM_NAME = "qemu-system-arm"
-   QB_MACHINE = "-machine virt"
-   QB_CPU = "-cpu cortex-a15"
-   QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0 systemd.mask=systemd-networkd"
-   QB_OPT_APPEND = "-device virtio-rng-device"
-   QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"
-   QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@"
-   QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=disk0"
-   QB_SERIAL_OPT = ""
-   QB_TCPSERIAL_OPT = "-device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device virtconsole,chardev=virtcon"
+located in :yocto_git:`/meta-yocto/tree/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
+</meta-yocto/tree/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf>`.
 
 The variables used to configure the machine define machine-specific properties; for
 example, machine-dependent packages, machine tunings, the type of kernel
@@ -1309,7 +1255,7 @@ Project Reference Manual.
    The recipe that provides "virtual/xserver" when more than one
    provider is found. In this case, the recipe that provides
    "virtual/xserver" is "xserver-xorg", available in
-   ``poky/meta/recipes-graphics/xorg-xserver``.
+   ``meta/recipes-graphics/xorg-xserver`` in :term:`OpenEmbedded-Core (OE-Core)`.
 
 -  :term:`MACHINE_EXTRA_RRECOMMENDS`:
    A list of machine-dependent packages not essential for booting the
@@ -1400,7 +1346,7 @@ Project Reference Manual.
    .. note::
 
       For more information on how the SPL variables are used, see the
-      :yocto_git:`u-boot.inc </poky/tree/meta/recipes-bsp/u-boot/u-boot.inc>`
+      :oe_git:`u-boot.inc </openembedded-core/tree/meta/recipes-bsp/u-boot/u-boot.inc>`
       include file.
 
 -  :term:`UBOOT_* <UBOOT_ENTRYPOINT>`: Defines
@@ -1438,7 +1384,7 @@ The ``meta-yocto-bsp/recipes-kernel/linux`` directory in the layer contains
 metadata used to build the kernel. In this case, a kernel append file
 (i.e. ``linux-yocto_6.1.bbappend``) is used to override an established
 kernel recipe (i.e. ``linux-yocto_6.1.bb``), which is located in
-:yocto_git:`/poky/tree/meta/recipes-kernel/linux`.
+:oe_git:`/openembedded-core/tree/meta/recipes-kernel/linux`.
 
 The contents of the append file are::
 
Signature · 1 line
2.52.0
Reviewed-by on v2 4/56
#7 lore raw

Re: [docs] [PATCH v2 04/56] bsp-guide/bsp.rst: remove obsolete poky repo references

Hi Antonin,

On 1/27/26 9:18 AM, Antonin Godard via lists.yoctoproject.org wrote:
[...]

Quoted 4 lines
documentation/bsp-guide/bsp.rst +0 -0
index 056f69249..49527f45d 100644

[...]

Quoted 4 lines
documentation/bsp-guide/bsp.rst +0 -0
@@ -224,18 +220,21 @@ section.
        Resolving deltas: 100% (2447/2447), done.
        Checking connectivity... done.
 

documentation/bsp-guide/bsp.rst section. · line 227

Quoted 10 lines
documentation/bsp-guide/bsp.rst +4 -5
-#. *Initialize the Build Environment:* While in the root directory of
-   the Source Directory (i.e. ``poky``), run the
-   :ref:`ref-manual/structure:``oe-init-build-env``` environment
-   setup script to define the OpenEmbedded build environment on your
-   build host. ::
+#. *Initialize the Build Environment:* While in the :term:`Source Directory`,
+run the :ref:`ref-manual/structure:``oe-init-build-env``` environment setup
+script located in :term:`OpenEmbedded-Core (OE-Core)` to define the OpenEmbedded
+build environment on your build host. ::
 

Shouldn't the three lines above be prefixed by three whitespaces?

Actually, probably should be 4 and have two spaces between #. and *Initialize* since that's the rule we have for lists. I see most of the lists in the diff in this patch don't follow the rule so I guess that's not a blocker :)

documentation/bsp-guide/bsp.rst section.

Quoted 8 lines
documentation/bsp-guide/bsp.rst +2 -4
-      $ source oe-init-build-env
+      $ source layers/openembedded-core/oe-init-build-env
 
     Among other things, the script creates the :term:`Build Directory`, which is
-   ``build`` in this case and is located in the :term:`Source Directory`.  After
-   the script runs, your current working directory is set to the ``build``
-   directory.
+   :term:`Build Directory`. After the script runs, your current working directory 

s/:term:Build Directory/"build"/

otherwise this says "Build Directory, which is Build Directory".

is set to

documentation/bsp-guide/bsp.rst section. · line 238

Quoted 7 lines
documentation/bsp-guide/bsp.rst +6 -0
+   the :term:`Build Directory` directory.
+
+   .. note::
+
+      Alternatively, you can source the ``init-build-env`` file provided by
+      :doc:`bitbake-setup <bitbake:bitbake-user-manual/bitbake-user-manual-environment-setup>`
 

You didn't answer the question on v1 so posting it here again:

Can we set up using bitbake-setup and then source oe-init-buildenv from oe-core? Or vice-versa. The wording seems to imply that.

Isn't most the above not applicable if we use bitbake-setup anyway?

With the three whitespaces and sed command above,

Please consider answering the question even if merging the patch with the few requested changes.

Thanks!
Quentin

#8 lore raw

Re: [docs] [PATCH v2 04/56] bsp-guide/bsp.rst: remove obsolete poky repo references

Hi,

On Tue Jan 27, 2026 at 12:27 PM CET, Quentin Schulz wrote:
[...]

Quoted 4 lines

Actually, probably should be 4 and have two spaces between #. and *Initialize* since that's the rule we have for lists. I see most of the lists in the diff in this patch don't follow the rule so I guess that's not a blocker :)

I actually think it makes more sense to have one space for "#.", as this way it aligns with bullet lists "- ":

#. foo
- bar

Quoted 24 lines

documentation/bsp-guide/bsp.rst section.

Quoted 8 lines
documentation/bsp-guide/bsp.rst +2 -4
-      $ source oe-init-build-env
+      $ source layers/openembedded-core/oe-init-build-env
 
     Among other things, the script creates the :term:`Build Directory`, which is
-   ``build`` in this case and is located in the :term:`Source Directory`.  After
-   the script runs, your current working directory is set to the ``build``
-   directory.
+   :term:`Build Directory`. After the script runs, your current working directory 

s/:term:Build Directory/"build"/

otherwise this says "Build Directory, which is Build Directory".

is set to

documentation/bsp-guide/bsp.rst section. · line 237

Quoted 7 lines
documentation/bsp-guide/bsp.rst +6 -0
+   the :term:`Build Directory` directory.
+
+   .. note::
+
+      Alternatively, you can source the ``init-build-env`` file provided by
+      :doc:`bitbake-setup <bitbake:bitbake-user-manual/bitbake-user-manual-environment-setup>`

You didn't answer the question on v1 so posting it here again:

Quoted 2 lines

Can we set up using bitbake-setup and then source oe-init-buildenv from oe-core? Or vice-versa. The wording seems to imply that.

I mean you could but probably you wouldn't want to?

Quoted 1 line

Isn't most the above not applicable if we use bitbake-setup anyway?

As you have seen from this series, for now, it doesn't force you into setting things one way or another. A further step to this series would be to locate and replace these with bitbake-setup specific instructions, dropping the manual setup anywhere.

Thanks,
Antonin

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

PATCH v2 5/56 kernel-dev/advanced.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core in most cases, and refer to bitbake-setup or the manual setup in the intro.

---
 documentation/kernel-dev/advanced.rst | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
documentation/kernel-dev/advanced.rst +5 -7
index 4c463503f6..97cb663222 100644
@@ -24,9 +24,8 @@ grouped under the "Yocto Linux Kernel" heading in the
 Kernel development tools ("kern-tools") are also available in the Yocto Project
 Source Repositories under the "Yocto Linux Kernel" heading in the
 ``yocto-kernel-tools`` Git repository. The recipe that builds these
-tools is ``meta/recipes-kernel/kern-tools/kern-tools-native_git.bb`` in
-the :term:`Source Directory` (e.g.
-``poky``).
+tools is ``recipes-kernel/kern-tools/kern-tools-native_git.bb`` in
+:term:`OpenEmbedded-Core (OE-Core)`.
 
 Using Kernel Metadata in a Recipe
 =================================
@@ -357,9 +356,9 @@ kernel of a specific type (e.g. a real-time kernel). Syntactically, kernel
 types are no different than features as described in the
 ":ref:`kernel-dev/advanced:features`" section. The :term:`LINUX_KERNEL_TYPE`
 variable in the kernel recipe selects the kernel type. For example, in the
-``linux-yocto_4.12.bb`` kernel recipe found in ``poky/meta/recipes-kernel/linux``, a
+``linux-yocto_4.12.bb`` kernel recipe found in ``meta/recipes-kernel/linux``, a
 :ref:`require <bitbake-user-manual/bitbake-user-manual-metadata:\`\`require\`\` directive>`
-directive includes the ``poky/meta/recipes-kernel/linux/linux-yocto.inc`` file,
+directive includes the ``meta/recipes-kernel/linux/linux-yocto.inc`` file,
 which has the following statement that defines the default kernel type::
 
    LINUX_KERNEL_TYPE ??= "standard"
@@ -373,8 +372,7 @@ type as follows::
 .. note::
 
    You can find kernel recipes in the ``meta/recipes-kernel/linux`` directory
-   of the :ref:`overview-manual/development-environment:yocto project source repositories`
-   (e.g. ``poky/meta/recipes-kernel/linux/linux-yocto_4.12.bb``). See the
+   of the :ref:`overview-manual/development-environment:yocto project source repositories`. See the
    ":ref:`kernel-dev/advanced:using kernel metadata in a recipe`"
    section for more information.
 
Signature · 1 line
2.52.0
Reviewed-by on v2 5/56
#10 lore raw

Re: [docs] [PATCH v2 05/56] kernel-dev/advanced.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 5 lines · Antonin Godard via lists.yoctoproject.org

Remove references to the Poky repository, replace by OpenEmbedded-Core in most cases, and refer to bitbake-setup or the manual setup in the intro.

This patch seems unchanged since v1 and had given my R-b back then, so adding it again:

Minor comment below.

Quoted 9 lines
---
  documentation/kernel-dev/advanced.rst | 12 +++++-------
  1 file changed, 5 insertions(+), 7 deletions(-)
documentation/kernel-dev/advanced.rst +0 -0
index 4c463503f6..97cb663222 100644

documentation/kernel-dev/advanced.rst grouped under the "Yocto Linux Kernel" heading in the · line 27

Quoted 7 lines
documentation/kernel-dev/advanced.rst +1 -3
@@ -24,9 +24,8 @@ grouped under the "Yocto Linux Kernel" heading in the
  Kernel development tools ("kern-tools") are also available in the Yocto Project
  Source Repositories under the "Yocto Linux Kernel" heading in the
  ``yocto-kernel-tools`` Git repository. The recipe that builds these
-tools is ``meta/recipes-kernel/kern-tools/kern-tools-native_git.bb`` in
-the :term:`Source Directory` (e.g.
-``poky``).
+tools is ``recipes-kernel/kern-tools/kern-tools-native_git.bb`` in

Could use a oe_git link here.

Thanks!
Quentin

#11 lore raw

PATCH v2 6/56 contributor-guide/submit-changes.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core in most cases.

---
 documentation/contributor-guide/submit-changes.rst | 57 ++++++----------------
 1 file changed, 14 insertions(+), 43 deletions(-)
documentation/contributor-guide/submit-changes.rst +14 -43
index 07989d7b6..4a4c60b41 100644
@@ -429,37 +429,6 @@ and then based on successful testing, merges them.
 In general, each component (e.g. layer) should have a ``README`` file
 that indicates where to send the changes and which process to follow.
 
-The "poky" repository, which is the Yocto Project's reference build
-environment, is a hybrid repository that contains several individual
-pieces (e.g. BitBake, Metadata, documentation, and so forth) built using
-the combo-layer tool. The upstream location used for submitting changes
-varies by component:
-
--  *Core Metadata:* Send your patches to the
-   :oe_lists:`openembedded-core </g/openembedded-core>`
-   mailing list. For example, a change to anything under the ``meta`` or
-   ``scripts`` directories should be sent to this mailing list.
-
--  *BitBake:* For changes to BitBake (i.e. anything under the
-   ``bitbake`` directory), send your patches to the
-   :oe_lists:`bitbake-devel </g/bitbake-devel>`
-   mailing list.
-
--  *meta-poky* and *meta-yocto-bsp* trees: These trees contain Metadata. Use the
-   :yocto_lists:`poky </g/poky>` mailing list.
-
--  *Documentation*: For changes to the Yocto Project documentation, use the
-   :yocto_lists:`docs </g/docs>` mailing list.
-
-For changes to other layers and tools hosted in the Yocto Project source
-repositories (i.e. :yocto_git:`git.yoctoproject.org <>`), use the
-:yocto_lists:`yocto-patches </g/yocto-patches/>` general mailing list.
-
-For changes to other layers hosted in the OpenEmbedded source
-repositories (i.e. :oe_git:`git.openembedded.org <>`), use
-the :oe_lists:`openembedded-devel </g/openembedded-devel>`
-mailing list, unless specified otherwise in the layer's ``README`` file.
-
 If you intend to submit a new recipe that neither fits into the core Metadata,
 nor into :oe_git:`meta-openembedded </meta-openembedded/>`, you should
 look for a suitable layer in https://layers.openembedded.org. If similar
@@ -620,7 +589,7 @@ have been followed:
    methods to find out:
 
    -  *Maintenance File:* Examine the ``maintainers.inc`` file, which is
-      located in the :term:`Source Directory` at
+      located in :term:`OpenEmbedded-Core (OE-Core)` at
       ``meta/conf/distro/include``, to see who is responsible for code.
 
    -  *Search by File:* Using :ref:`overview-manual/development-environment:git`, you can
@@ -645,9 +614,8 @@ have been followed:
    The Yocto Project provides two scripts that conveniently let you
    generate and send pull requests to the Yocto Project. These scripts
    are ``create-pull-request`` and ``send-pull-request``. You can find
-   these scripts in the ``scripts`` directory within the
-   :term:`Source Directory` (e.g.
-   ``poky/scripts``).
+   these scripts in the ``scripts`` directory within
+   :term:`OpenEmbedded-Core (OE-Core)`.
 
    Using these scripts correctly formats the requests without
    introducing any whitespace or HTML formatting. The maintainer that
@@ -660,7 +628,7 @@ have been followed:
    directory into which you pushed the change, and provides a subject
    line in the created patch files::
 
-      $ poky/scripts/create-pull-request -u meta-intel-contrib -s "Updated Manual Section Reference in README"
+      $ ./scripts/create-pull-request -u meta-intel-contrib -s "Updated Manual Section Reference in README"
 
    Running this script forms ``*.patch`` files in a folder named
    ``pull-``\ `PID` in the current directory. One of the patch files is a
@@ -673,7 +641,7 @@ have been followed:
    and email address. In this example, the email address is a mailing
    list::
 
-      $ poky/scripts/send-pull-request -p ~/meta-intel/pull-10565 -t [email protected]
+      $ ./scripts/send-pull-request -p ~/meta-intel/pull-10565 -t [email protected]
 
    You need to follow the prompts as the script is interactive.
 
@@ -682,8 +650,8 @@ have been followed:
       For help on using these scripts, simply provide the ``-h``
       argument as follows::
 
-              $ poky/scripts/create-pull-request -h
-              $ poky/scripts/send-pull-request -h
+              $ ./scripts/create-pull-request -h
+              $ ./scripts/send-pull-request -h
 
 Submitting Changes to Stable Release Branches
 =============================================
@@ -857,14 +825,17 @@ used testing branches for OpenEmbedded-Core are as follows:
    :oe_git:`openembedded-core </openembedded-core/>` repository and contains
    proposed changes to the core metadata.
 
--  *poky "master-next" branch:* This branch is part of the
-   :yocto_git:`poky </poky/>` repository and combines proposed
-   changes to BitBake, the core metadata and the poky distro.
+- *bitbake "master-next" branch:* This branch is part of the :oe_git:`bitbake
+  </bitbake/>` repository and contains changes to :term:`BitBake`.
+
+-  *meta-yocto "master-next" branch:* This branch is part of the
+   :yocto_git:`meta-yocto </meta-yocto/>` repository and contains proposed
+   changes to meta-yocto.
 
 Similarly, stable branches maintained by the project may have corresponding
 ``-next`` branches which collect proposed changes. For example,
 ``&DISTRO_NAME_NO_CAP;-next`` and ``&DISTRO_NAME_NO_CAP_MINUS_ONE;-next``
-branches in both the "openembdedded-core" and "poky" repositories.
+branches in both the "openembedded-core" and "meta-yocto" repositories.
 
 Other layers may have similar testing branches but there is no formal
 requirement or standard for these so please check the documentation for the
Signature · 1 line
2.52.0
#12 lore raw

Re: [docs] [PATCH v2 06/56] contributor-guide/submit-changes.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 38 lines · Antonin Godard via lists.yoctoproject.org

Remove references to the Poky repository, replace by OpenEmbedded-Core in most cases.

---
  documentation/contributor-guide/submit-changes.rst | 57 ++++++----------------
  1 file changed, 14 insertions(+), 43 deletions(-)
documentation/contributor-guide/submit-changes.rst +0 -22
index 07989d7b6..4a4c60b41 100644
@@ -429,37 +429,6 @@ and then based on successful testing, merges them.
  In general, each component (e.g. layer) should have a ``README`` file
  that indicates where to send the changes and which process to follow.
 
-The "poky" repository, which is the Yocto Project's reference build
-environment, is a hybrid repository that contains several individual
-pieces (e.g. BitBake, Metadata, documentation, and so forth) built using
-the combo-layer tool. The upstream location used for submitting changes
-varies by component:
-
--  *Core Metadata:* Send your patches to the
-   :oe_lists:`openembedded-core </g/openembedded-core>`
-   mailing list. For example, a change to anything under the ``meta`` or
-   ``scripts`` directories should be sent to this mailing list.
-
--  *BitBake:* For changes to BitBake (i.e. anything under the
-   ``bitbake`` directory), send your patches to the
-   :oe_lists:`bitbake-devel </g/bitbake-devel>`
-   mailing list.
-
--  *meta-poky* and *meta-yocto-bsp* trees: These trees contain Metadata. Use the
-   :yocto_lists:`poky </g/poky>` mailing list.
-
--  *Documentation*: For changes to the Yocto Project documentation, use the
-   :yocto_lists:`docs </g/docs>` mailing list.
-

documentation/contributor-guide/submit-changes.rst and then based on successful testing, merges them. · line 432

Quoted 10 lines
documentation/contributor-guide/submit-changes.rst +0 -9
-For changes to other layers and tools hosted in the Yocto Project source
-repositories (i.e. :yocto_git:`git.yoctoproject.org <>`), use the
-:yocto_lists:`yocto-patches </g/yocto-patches/>` general mailing list.
-
-For changes to other layers hosted in the OpenEmbedded source
-repositories (i.e. :oe_git:`git.openembedded.org <>`), use
-the :oe_lists:`openembedded-devel </g/openembedded-devel>`
-mailing list, unless specified otherwise in the layer's ``README`` file.
-
  If you intend to submit a new recipe that neither fits into the core Metadata,

In this patch, we just removed what we meant by Core Metadata, so now this can be quite confusing. Should we simply state OpenEmbedded-Core?

Also, how does one knows if the recipe can fit into OE-Core? (we do have some rules as to what's acceptable, must be a direct and default dependency of some other recipe in OE-Core, or with a demonstrable valuable benefit for OE-Core).

[...]

documentation/contributor-guide/submit-changes.rst used testing branches for OpenEmbedded-Core are as follows: · line 830

Quoted 10 lines
documentation/contributor-guide/submit-changes.rst +3 -3
@@ -857,14 +825,17 @@ used testing branches for OpenEmbedded-Core are as follows:
     :oe_git:`openembedded-core </openembedded-core/>` repository and contains
     proposed changes to the core metadata.
 
--  *poky "master-next" branch:* This branch is part of the
-   :yocto_git:`poky </poky/>` repository and combines proposed
-   changes to BitBake, the core metadata and the poky distro.
+- *bitbake "master-next" branch:* This branch is part of the :oe_git:`bitbake
+  </bitbake/>` repository and contains changes to :term:`BitBake`.
+

Missing a (second) whitespace after - in the first line and a third whitespace in the second line.

Cheers,
Quentin

#13 lore raw

PATCH v2 7/56 dev-manual/building.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core in most cases.

---
 documentation/dev-manual/building.rst  | 40 +++++++---------------------------
 documentation/ref-manual/fragments.rst |  2 ++
 2 files changed, 10 insertions(+), 32 deletions(-)
documentation/dev-manual/building.rst +8 -32
index 60ad11f52..c153eb9de 100644
@@ -51,32 +51,9 @@ The following figure and list overviews the build process:
    Yocto Project*: See the ":doc:`/dev-manual/start`" section for options on how to get a
    build host ready to use the Yocto Project.
 
-#. *Initialize the Build Environment:* Initialize the build environment
-   by sourcing the build environment script (i.e.
-   :ref:`structure-core-script`)::
-
-      $ source oe-init-build-env [build_dir]
-
-   When you use the initialization script, the OpenEmbedded build system
-   uses ``build`` as the default :term:`Build Directory` in your current work
-   directory. You can use a `build_dir` argument with the script to
-   specify a different :term:`Build Directory`.
-
-   .. note::
-
-      A common practice is to use a different :term:`Build Directory` for
-      different targets; for example, ``~/build/x86`` for a ``qemux86``
-      target, and ``~/build/arm`` for a ``qemuarm`` target. In any
-      event, it's typically cleaner to locate the :term:`Build Directory`
-      somewhere outside of your source directory.
-
-#. *Make Sure Your* ``local.conf`` *File is Correct*: Ensure the
-   ``conf/local.conf`` configuration file, which is found in the
-   :term:`Build Directory`, is set up how you want it. This file defines many
-   aspects of the build environment including the target machine architecture
-   through the :term:`MACHINE` variable, the packaging format used during
-   the build (:term:`PACKAGE_CLASSES`), and a centralized tarball download
-   directory through the :term:`DL_DIR` variable.
+#. *Make Sure Your Configuration is Correct*: Use :ref:`bitbake-config-build <ref-bitbake-config-build-qf>` to
+   define the :term:`MACHINE` or :term:`DISTRO`, and open your
+   :ref:`structure-build-conf-site.conf` file to set site-specific settings.
 
 #. *Build the Image:* Build the image using the ``bitbake`` command::
 
@@ -88,8 +65,8 @@ The following figure and list overviews the build process:
 
    The target is the name of the recipe you want to build. Common
    targets are the images in ``meta/recipes-core/images``,
-   ``meta/recipes-sato/images``, and so forth all found in the
-   :term:`Source Directory`. Alternatively, the target
+   ``meta/recipes-sato/images``, and so forth all found in
+   :term:`OpenEmbedded-Core (OE-Core)`. Alternatively, the target
    can be the name of a recipe for a specific piece of software such as
    BusyBox. For more details about the images the OpenEmbedded build
    system supports, see the
@@ -127,7 +104,7 @@ Follow these steps to create an :term:`Initramfs` image:
 
 #. *Create the Initramfs Image Recipe:* You can reference the
    ``core-image-minimal-initramfs.bb`` recipe found in the
-   ``meta/recipes-core`` directory of the :term:`Source Directory`
+   ``meta/recipes-core`` directory in :term:`OpenEmbedded-Core (OE-Core)`
    as an example from which to work. The ``core-image-minimal-initramfs`` recipe
    is based on the :ref:`initramfs-framework <dev-manual/building:Customizing an
    Initramfs using \`\`initramfs-framework\`\`>` recipe described below.
@@ -366,9 +343,8 @@ memory used for decompressing the kernel and for the ``__init__``
 functions.
 
 To help you see where you currently are with kernel and root filesystem
-sizes, you can use two tools found in the :term:`Source Directory`
-in the
-``scripts/tiny/`` directory:
+sizes, you can use two tools found in :term:`OpenEmbedded-Core (OE-Core)`
+in the ``scripts/tiny/`` directory:
 
 -  ``ksize.py``: Reports component sizes for the kernel build objects.
 
documentation/ref-manual/fragments.rst +2 -0
index 42fba41e9..9449f4648 100644
@@ -22,6 +22,8 @@ System` core repositories.
    :doc:`/dev-manual/creating-fragments` section of the Yocto Project Development
    Tasks Manual.
 
+.. _ref-bitbake-config-build-qf:
+
 ``bitbake-config-build`` Quick Reference
 ========================================
 
Signature · 1 line
2.52.0
#14 lore raw

PATCH v2 8/56 dev-manual/debugging.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core.

---
 documentation/dev-manual/debugging.rst | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)
documentation/dev-manual/debugging.rst +9 -7
index 0202f1b32..21fb10537 100644
@@ -439,7 +439,7 @@ the build system to run the task again.
 
    For an example of a commit that makes a cosmetic change to invalidate
    shared state, see this
-   :yocto_git:`commit </poky/commit/meta/classes/package.bbclass?id=737f8bbb4f27b4837047cb9b4fbfe01dfde36d54>`.
+   :oe_git:`commit </openembedded-core/commit/meta/classes/package.bbclass?id=30064a98dc9049db4a37f119d15fbb59aa3c8377>`.
 
 Running Specific Tasks
 ======================
@@ -522,7 +522,7 @@ task dependency mechanisms.
 
    .. code-block:: none
 
-      WARNING: /home/ulf/poky/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.1.bb.do_compile is tainted from a forced run
+      WARNING: /home/ulf/openembedded-core/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.1.bb.do_compile is tainted from a forced run
 
 
    The purpose of the warning is to let you know that the work directory
@@ -615,7 +615,7 @@ The same logging functions are also available in shell functions, under
 the names ``bbplain``, ``bbnote``, ``bbdebug``, ``bbwarn``, ``bberror``,
 and ``bbfatal``. The :ref:`ref-classes-logging` class
 implements these functions. See that class in the ``meta/classes``
-folder of the :term:`Source Directory` for information.
+folder of :term:`OpenEmbedded-Core (OE-Core)` for information.
 
 Logging With Python
 -------------------
@@ -852,10 +852,10 @@ patch::
    Refreshed patch patches/parallelmake.patch
 
 Once the patch file is created, you need to add it back to the originating
-recipe folder. Here is an example assuming a top-level
-:term:`Source Directory` named ``poky``::
+recipe folder. Here is an example assuming :term:`OpenEmbedded-Core (OE-Core)`
+is named ``openembedded-core``::
 
-   $ cp patches/parallelmake.patch poky/meta/recipes-connectivity/neard/neard
+   $ cp patches/parallelmake.patch openembedded-core/meta/recipes-connectivity/neard/neard
 
 The final thing you need to do to implement the fix in the build is to
 update the "neard" recipe (i.e. ``neard-0.14.bb``) so that the
@@ -940,7 +940,9 @@ debug symbols from the server.
 To run a ``debuginfod`` server, you need to do the following:
 
 -  Ensure that ``debuginfod`` is present in :term:`DISTRO_FEATURES`
-   (it already is in ``OpenEmbedded-core`` defaults and ``poky`` reference distribution).
+   (it already is in :term:`OpenEmbedded-Core (OE-Core)` defaults and
+   :term:`Poky` reference distribution).
+
    If not, set in your distro config file or in ``local.conf``::
 
       DISTRO_FEATURES:append = " debuginfod"
Signature · 1 line
2.52.0
#15 lore raw

PATCH v2 9/56 dev-manual/error-reporting-tool.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove the single poky repository reference in this document, after the poky repository was obsoleted.

---
 documentation/dev-manual/error-reporting-tool.rst | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
documentation/dev-manual/error-reporting-tool.rst +1 -2
index 84f3d9cd1e..30d1ce2b31 100644
@@ -7,8 +7,7 @@ The error reporting tool allows you to submit errors encountered during
 builds to a central database. Outside of the build environment, you can
 use a web interface to browse errors, view statistics, and query for
 errors. The tool works using a client-server system where the client
-portion is integrated with the installed Yocto Project
-:term:`Source Directory` (e.g. ``poky``).
+portion is integrated in :term:`OpenEmbedded-Core (OE-Core)`.
 The server receives the information collected and saves it in a
 database.
 
Signature · 1 line
2.52.0
#16 lore raw

PATCH v2 10/56 dev-manual/external-toolchain.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove the single poky repository reference in this document, after the poky repository was obsoleted.

---
 documentation/dev-manual/external-toolchain.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/dev-manual/external-toolchain.rst +1 -1
index 238f8cf467..29459ea120 100644
@@ -21,7 +21,7 @@ follows:
 The toolchain configuration is very flexible and customizable. It
 is primarily controlled with the :term:`TCMODE` variable. This variable
 controls which ``tcmode-*.inc`` file to include from the
-``meta/conf/distro/include`` directory within the :term:`Source Directory`.
+``meta/conf/distro/include`` directory within :term:`OpenEmbedded-Core (OE-Core)`.
 
 The default value of :term:`TCMODE` is "default", which tells the
 OpenEmbedded build system to use its internally built toolchain (i.e.
Signature · 1 line
2.52.0
#17 lore raw

PATCH v2 11/56 dev-manual/layers.rst: remove obsolete poky repo references

In reply to Antonin Godard

The first section of the layers document shows how to manually create a layer step-by-step, and references bitbake-layers create-layer at the end. Change the approach of this section to show how to use the bitbake-layers create-layer command to create a layer, and then explain how a layer is organized and configured. This avoids repetition, and we should encourage users to use pre-built tools when they can do things in a less error-prone way.

---
 documentation/brief-yoctoprojectqs/index.rst       |   2 +-
 documentation/bsp-guide/bsp.rst                    |   2 +-
 documentation/dev-manual/custom-distribution.rst   |   2 +-
 documentation/dev-manual/layers.rst                | 277 ++++++++-------------
 documentation/kernel-dev/common.rst                |   6 +-
 .../transitioning-to-a-custom-environment.rst      |   3 +-
 6 files changed, 110 insertions(+), 182 deletions(-)
documentation/brief-yoctoprojectqs/index.rst +1 -1
index 84eb63c937..903dc242eb 100644
@@ -452,7 +452,7 @@ The following commands run the tool to create a layer named
 
 For more information
 on layers and how to create them, see the
-:ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` script`
+:ref:`dev-manual/layers:Creating Your Own Layer`
 section in the Yocto Project Development Tasks Manual.
 
 Where To Go Next
documentation/bsp-guide/bsp.rst +1 -1
index 49527f45d1..4c0939ab0b 100644
@@ -1155,7 +1155,7 @@ Use these steps to create a BSP layer:
    ``create-layer`` subcommand to create a new general layer. For
    instructions on how to create a general layer using the
    ``bitbake-layers`` script, see the
-   ":ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` script`"
+   ":ref:`dev-manual/layers:Creating Your Own Layer`"
    section in the Yocto Project Development Tasks Manual.
 
 -  *Create a Layer Configuration File:* Every layer needs a layer
documentation/dev-manual/custom-distribution.rst +1 -1
index 0bc386d606..55854f00ea 100644
@@ -27,7 +27,7 @@ layer. The following steps provide some more detail:
    just placing configurations in a ``local.conf`` configuration file
    makes it easier to reproduce the same build configuration when using
    multiple build machines. See the
-   ":ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` script`"
+   ":ref:`dev-manual/layers:Creating Your Own Layer`"
    section for information on how to quickly set up a layer.
 
 -  *Create the distribution configuration file:* The distribution
documentation/dev-manual/layers.rst +103 -174

304 lines not on this page · raw message

documentation/kernel-dev/common.rst +3 -3
index 1e098c158f..2142d31c09 100644
@@ -95,7 +95,7 @@ section:
       Support (BSP) Developer's Guide, respectively. For information on how to
       use the ``bitbake-layers create-layer`` command to quickly set up a layer,
       see the
-      ":ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` script`"
+      ":ref:`dev-manual/layers:Creating Your Own Layer`"
       section in the Yocto Project Development Tasks Manual.
 
 #. *Inform the BitBake Build Environment About Your Layer:* As directed
@@ -190,7 +190,7 @@ section:
       Support (BSP) Developer's Guide, respectively. For information on how to
       use the ``bitbake-layers create-layer`` command to quickly set up a layer,
       see the
-      ":ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` script`"
+      ":ref:`dev-manual/layers:Creating Your Own Layer`"
       section in the Yocto Project Development Tasks Manual.
 
 #. *Inform the BitBake Build Environment About Your Layer:* As directed
@@ -276,7 +276,7 @@ section in the Yocto Project Development Tasks Manual.
    The Yocto Project comes with many tools that simplify tasks you need
    to perform. One such tool is the ``bitbake-layers create-layer``
    command, which simplifies creating a new layer. See the
-   ":ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` script`"
+   ":ref:`dev-manual/layers:Creating Your Own Layer`"
    section in the Yocto Project Development Tasks Manual for
    information on how to use this script to quick set up a new layer.
 
documentation/transitioning-to-a-custom-environment.rst +1 -2
index e292399f43..bc37345b98 100644
@@ -56,8 +56,7 @@ Transitioning to a custom environment for systems development
 #. **Add a new layer for any custom recipes and metadata you create**.
    Use the ``bitbake-layers create-layer`` command. The ``bitbake-layers`` tool
    also provides a number of other useful layer-related commands. See
-   :ref:`dev-manual/layers:creating a general layer using the
-   \`\`bitbake-layers\`\` script` section.
+   :ref:`dev-manual/layers:Creating Your Own Layer` section.
 
 #. **Create your own layer for the BSP you're going to use**.
    It is not common that you would need to create an entire BSP from scratch
Signature · 1 line
2.52.0
Reviewed-by on v2 11/56
#18 lore raw

Re: [docs] [PATCH v2 11/56] dev-manual/layers.rst: remove obsolete poky repo references

Hi Antonin,

On 1/27/26 9:19 AM, Antonin Godard via lists.yoctoproject.org wrote:
[...]

Quoted 7 lines
documentation/dev-manual/layers.rst +3 -4
-#. *Create a Directory:* Create the directory for your layer. When you
-   create the layer, be sure to create the directory in an area not
-   associated with the Yocto Project :term:`Source Directory`
-   (e.g. the cloned ``poky`` repository).
+   .. note::
+
+      For information on BSP layers, see the ":ref:`bsp-guide/bsp:bsp layers`"

documentation/dev-manual/layers.rst Follow these general steps to create your layer without using tools: · line 38

Quoted 10 lines
documentation/dev-manual/layers.rst +10 -0
+      section in the Yocto Project Board Specific (BSP) Developer's Guide.
+
+#. *Create a new Layer:* Create the directory for your layer. The
+   ``bitbake-layers`` script with the ``create-layer`` subcommand simplifies
+   creating a new general layer. Place it next to the other layers in your
+   :term:`Source Directory`.
+
+   In its simplest form, you can use the following command to create a
+   layer named "your_layer_name" in the current directory.
+

suggestion: s/./:/

[...]

Quoted 1 line

+ The default mode of the script's operation with this subcommand is to

suggestion: to make it a bit easier to read:

By default, the ``bitbake-layers create-layer`` command creates a layer with the following:

documentation/dev-manual/layers.rst Follow these general steps to create your layer without using tools: · line 86

Quoted 10 lines
documentation/dev-manual/layers.rst +10 -0
+   create a layer with the following:
+
+   -  A ``conf/layer.conf`` configuration file with default definitions.
+
+      Here is an explanation of the typical content of the layer configuration file:
+
+      -  :term:`BBPATH`: Adds the layer's root directory to BitBake's search
+         path. Through the use of the :term:`BBPATH` variable, BitBake locates
+         class files (``.bbclass``), configuration files, and files that are
+         included with ``include`` and ``require`` statements. For these cases,

suggestion: cross-reference include and require directive? (separate patch/series)

documentation/dev-manual/layers.rst Follow these general steps to create your layer without using tools: · line 97

Quoted 11 lines
documentation/dev-manual/layers.rst +11 -0
+         BitBake uses the first file that matches the name found in
+         :term:`BBPATH`. This is similar to the way the ``PATH`` variable is
+         used for binaries. It is recommended, therefore, that you use unique
+         class and configuration filenames in your custom layer.
+
+         See the :ref:`bitbake:bitbake-user-manual/bitbake-user-manual-metadata:Locating Include
+         Files` section of the BitBake User Manual for more details on how
+         files are included with :term:`BitBake`.
+
+      -  :term:`BBFILES`: Defines the location for all recipes in the layer.
+

suggestion: mention bbappend as well (separate patch/series)

documentation/dev-manual/layers.rst Follow these general steps to create your layer without using tools: · line 103

Quoted 6 lines
documentation/dev-manual/layers.rst +6 -0
+      -  :term:`BBFILE_COLLECTIONS`: Establishes the current layer through a
+         unique identifier that is used throughout the :term:`OpenEmbedded Build
+         System` to refer to the layer. In this example, the identifier
+         "yoctobsp" is the representation for the container layer named
+         "meta-yocto-bsp".
+

suggestion: :yocto_git: link (separate patch/series)

Quoted 10 lines
documentation/dev-manual/layers.rst +10 -0
+         This name is used by other layers when specifying the layer
+         dependencies via the :term:`LAYERDEPENDS` variable.
+
+      -  :term:`BBFILE_PATTERN`: Expands immediately during parsing to provide
+         the directory of the layer.
+
+      -  :term:`BBFILE_PRIORITY`: Establishes a priority to use for recipes in
+         the layer when the :term:`OpenEmbedded Build System` finds recipes of
+         the same name in different layers.
+

documentation/dev-manual/layers.rst Follow these general steps to create your layer without using tools: · line 123

Quoted 10 lines
documentation/dev-manual/layers.rst +10 -0
+      -  :term:`LAYERVERSION`: Establishes a version number for the layer. You
+         can use this version number to specify this exact version of the layer
+         as a dependency when using the :term:`LAYERDEPENDS` variable.
+
+      -  :term:`LAYERDEPENDS`: Lists all layers on which this layer depends (if
+         any). It uses the layer names specified by the
+         :term:`BBFILE_COLLECTIONS` variable.
+
+      -  :term:`LAYERSERIES_COMPAT`: Lists the :yocto_home:`Yocto Project
+         releases </development/releases/>` codenames (in lowercase) for which

s/releases/release/

suggestion: s/for which the current version is compatible/this layer is compatible with.

documentation/dev-manual/layers.rst Follow these general steps to create your layer without using tools: · line 126

Quoted 3 lines
documentation/dev-manual/layers.rst +3 -0
+         the current version is compatible. For example: "&DISTRO_NAME_NO_CAP;".
+
+         This variable is a good way to indicate if your particular layer is

suggestion: s/your/a/

documentation/dev-manual/layers.rst Follow these general steps to create your layer without using tools: · line 129

Quoted 3 lines
documentation/dev-manual/layers.rst +3 -0
+         current.
+
+   -  A ``recipes-example`` subdirectory that contains a further

suggestion: s/contains a further/itself contains a/

With the s/releases/release/ change:

Thanks!
Quentin

#19 lore raw

PATCH v2 12/56 dev-manual/layers.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core.

---
 documentation/dev-manual/layers.rst | 31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)
documentation/dev-manual/layers.rst +16 -15
index 456e72f4f..ab5c258f1 100644
@@ -290,7 +290,7 @@ following list:
    repository that use the ``meta-layer_name`` format.
 
 -  *Group Your Layers Locally:* Clone your repository alongside other
-   cloned ``meta`` directories from the :term:`Source Directory`.
+   layers in your :term:`Source Directory`.
 
 Making Sure Your Layer is Compatible With Yocto Project
 =======================================================
@@ -529,10 +529,10 @@ possible.
 Overlaying a File Using Your Layer
 ----------------------------------
 
-As an example, consider the main formfactor recipe and a corresponding
-formfactor append file both from the :term:`Source Directory`.
+As an example, consider the main ``formfactor`` recipe and a corresponding
+``formfactor`` append file both from :term:`OpenEmbedded-Core (OE-Core)`.
 Here is the main
-formfactor recipe, which is named ``formfactor_0.0.bb`` and located in
+``formfactor`` recipe, which is named ``formfactor_0.0.bb`` and located in
 the "meta" layer at ``meta/recipes-bsp/formfactor``::
 
    SUMMARY = "Device formfactor information"
@@ -609,8 +609,8 @@ Installing Additional Files Using Your Layer
 --------------------------------------------
 
 As another example, consider the main ``xserver-xf86-config`` recipe and a
-corresponding ``xserver-xf86-config`` append file both from the :term:`Source
-Directory`.  Here is the main ``xserver-xf86-config`` recipe, which is named
+corresponding ``xserver-xf86-config`` append file both from
+:term:`OpenEmbedded-Core (OE-Core)`.  Here is the main ``xserver-xf86-config`` recipe, which is named
 ``xserver-xf86-config_0.1.bb`` and located in the "meta" layer at
 ``meta/recipes-graphics/xorg-xserver``::
 
@@ -897,7 +897,9 @@ Add your layer by using the ``bitbake-layers add-layer`` command::
 Here is an example that adds a
 layer named ``meta-scottrif`` to the configuration file. Following the
 command that adds the layer is another ``bitbake-layers`` command that
-shows the layers that are in your ``bblayers.conf`` file::
+shows the layers that are in your ``bblayers.conf`` file:
+
+.. code-block:: console
 
    $ bitbake-layers add-layer meta-scottrif
    NOTE: Starting bitbake server...
@@ -905,14 +907,13 @@ shows the layers that are in your ``bblayers.conf`` file::
    Parsing of 1441 .bb files complete (0 cached, 1441 parsed). 2055 targets, 56 skipped, 0 masked, 0 errors.
    $ bitbake-layers show-layers
    NOTE: Starting bitbake server...
-   layer                 path                                      priority
-   ==========================================================================
-   meta                  /home/scottrif/poky/meta                  5
-   meta-poky             /home/scottrif/poky/meta-poky             5
-   meta-yocto-bsp        /home/scottrif/poky/meta-yocto-bsp        5
-   workspace             /home/scottrif/poky/build/workspace       99
-   meta-scottrif         /home/scottrif/poky/build/meta-scottrif   6
-
+   layer                 path                                                            priority
+   ==============================================================================================
+   meta                  /home/scottrif/bitbake-builds/layers/openembedded-core/meta           5
+   meta-poky             /home/scottrif/bitbake-builds/layers/meta-yocto/meta-poky             5
+   meta-yocto-bsp        /home/scottrif/bitbake-builds/layers/meta-yocto/meta-yocto-bsp        5
+   workspace             /home/scottrif/bitbake-builds/build/workspace                         99
+   meta-scottrif         /home/scottrif/bitbake-builds/build/meta-scottrif                     6
 
 Adding the layer to this file
 enables the build system to locate the layer during the build.
Signature · 1 line
2.52.0
Reviewed-by on v2 12/56
#20 lore raw

Re: [docs] [PATCH v2 12/56] dev-manual/layers.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 2 lines · Antonin Godard via lists.yoctoproject.org

Remove references to the Poky repository, replace by OpenEmbedded-Core.

Thanks!
Quentin

#21 lore raw

PATCH v2 13/56 dev-manual/libraries.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core.

---
 documentation/dev-manual/libraries.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
documentation/dev-manual/libraries.rst +4 -4
index a8c38128e..697ea48e4 100644
@@ -68,8 +68,8 @@ libraries and other binaries to use a different set of libraries. The
 libraries could differ in architecture, compiler options, or other
 optimizations.
 
-There are several examples in the ``meta-skeleton`` layer found in the
-:term:`Source Directory`:
+There are several examples in the ``meta-skeleton`` layer found in
+:term:`OpenEmbedded-Core (OE-Core)`:
 
 -  :oe_git:`conf/multilib-example.conf </openembedded-core/tree/meta-skeleton/conf/multilib-example.conf>`
    configuration file.
@@ -90,8 +90,8 @@ meet your needs.
 In order to enable Multilib, you first need to ensure your recipe is
 extended to support multiple libraries. Many standard recipes are
 already extended and support multiple libraries. You can check in the
-``meta/conf/multilib.conf`` configuration file in the
-:term:`Source Directory` to see how this is
+``meta/conf/multilib.conf`` configuration file in
+:term:`OpenEmbedded-Core (OE-Core)` to see how this is
 done using the
 :term:`BBCLASSEXTEND` variable.
 Eventually, all recipes will be covered and this list will not be
Signature · 1 line
2.52.0
#22 lore raw

PATCH v2 14/56 dev-manual/new-recipe.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core.

---
 documentation/dev-manual/new-recipe.rst | 25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)
documentation/dev-manual/new-recipe.rst +17 -8
index ee0f6aaf6..5e9498afc 100644
@@ -224,14 +224,23 @@ is to use the ``bitbake-getvar`` utility::
 
    $ bitbake-getvar -r basename WORKDIR
 
-As an example, assume a Source Directory
-top-level folder named ``poky``, a default :term:`Build Directory` at
-``poky/build``, and a ``qemux86-poky-linux`` machine target system.
+As an example, assume a :term:`Source Directory`
+top-level folder named ``bitbake-builds``, a default :term:`Build Directory` at
+``bitbake-builds/build``, a ``cortexa57`` :term:`PACKAGE_ARCH`, ``poky``
+:term:`DISTRO` and ``linux`` as :term:`TARGET_OS`.
+
 Furthermore, suppose your recipe is named ``foo_1.3.0.bb``. In this
 case, the work directory the build system uses to build the package
 would be as follows::
 
-   poky/build/tmp/work/qemux86-poky-linux/foo/1.3.0-r0
+   bitbake-builds/build/tmp/work/cortexa57-poky-linux/foo/1.3.0
+
+.. note::
+
+   This covers the case when the :term:`PACKAGE_ARCH` variable is set to its
+   default value, :term:`TUNE_PKGARCH`. This variable is sometimes set to
+   :term:`MACHINE_ARCH`. See the documentation of the :term:`PACKAGE_ARCH`
+   variable for more information.
 
 Inside this directory you can find sub-directories such as ``image``,
 ``packages-split``, and ``temp``. After the build, you can examine these
@@ -240,7 +249,7 @@ to determine how well the build went.
 .. note::
 
    You can find log files for each task in the recipe's ``temp``
-   directory (e.g. ``poky/build/tmp/work/qemux86-poky-linux/foo/1.3.0-r0/temp``).
+   directory (e.g. ``bitbake-builds/build/tmp/work/cortexa57-poky-linux/foo/1.3.0/temp``).
    Log files are named ``log.taskname`` (e.g. ``log.do_configure``,
    ``log.do_fetch``, and ``log.do_compile``).
 
@@ -830,7 +839,7 @@ different ways:
 
    To enable a service using systemd, your recipe needs to inherit the
    :ref:`ref-classes-systemd` class. See the ``systemd.bbclass`` file
-   located in your :term:`Source Directory` section for more information.
+   located in :term:`OpenEmbedded-Core (OE-Core)` section for more information.
 
 Packaging
 =========
@@ -974,8 +983,8 @@ being able to provide the ``virtual/kernel`` item.
 Now comes the time to actually build an image and you need a kernel
 recipe, but which one? You can configure your build to call out the
 kernel recipe you want by using the :term:`PREFERRED_PROVIDER` variable. As
-an example, consider the :yocto_git:`x86-base.inc
-</poky/tree/meta/conf/machine/include/x86/x86-base.inc>` include file, which is a
+an example, consider the :oe_git:`x86-base.inc
+</openembedded-core/tree/meta/conf/machine/include/x86/x86-base.inc>` include file, which is a
 machine (i.e. :term:`MACHINE`) configuration file. This include file is the
 reason all x86-based machines use the ``linux-yocto`` kernel. Here are the
 relevant lines from the include file::
Signature · 1 line
2.52.0
Reviewed-by on v2 14/56
#23 lore raw

Re: [docs] [PATCH v2 14/56] dev-manual/new-recipe.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 2 lines · Antonin Godard via lists.yoctoproject.org

Remove references to the Poky repository, replace by OpenEmbedded-Core.

Thanks!
Quentin

#24 lore raw

PATCH v2 15/56 dev-manual/securing-images.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core.

---
 documentation/security-manual/securing-images.rst | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
documentation/security-manual/securing-images.rst +5 -4
index cc6f95003..e502f83e3 100644
@@ -50,9 +50,10 @@ more secure:
 -  Regularly scan and apply fixes for CVE security issues affecting
    all software components in the product, see ":ref:`security-manual/vulnerabilities:checking for vulnerabilities`".
 
--  Regularly update your version of Poky and OE-Core from their upstream
-   developers, e.g. to apply updates and security fixes from stable
-   and :term:`LTS` branches.
+-  Regularly update your version of :term:`BitBake` and your layers (e.g.
+   :term:`OpenEmbedded-Core (OE-Core)`, :yocto_git:`meta-yocto </meta-yocto/>`,
+   ...) from their upstream developers, e.g. to apply updates and security fixes
+   from stable and :term:`LTS` branches.
 
 -  Ensure you remove or disable debugging functionality before producing
    the final image. For information on how to do this, see the
@@ -72,7 +73,7 @@ Security Flags
 The Yocto Project has security flags that you can enable that help make
 your build output more secure. The security flags are in the
 ``meta/conf/distro/include/security_flags.inc`` file in your
-:term:`Source Directory` (e.g. ``poky``).
+:term:`OpenEmbedded-Core (OE-Core)`.
 
 .. note::
 
Signature · 1 line
2.52.0
Reviewed-by on v2 15/56
#25 lore raw

Re: [docs] [PATCH v2 15/56] dev-manual/securing-images.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 2 lines · Antonin Godard via lists.yoctoproject.org

Remove references to the Poky repository, replace by OpenEmbedded-Core.

Minor comment below.

Quoted 10 lines
---
  documentation/security-manual/securing-images.rst | 9 +++++----
  1 file changed, 5 insertions(+), 4 deletions(-)
documentation/security-manual/securing-images.rst +0 -0
index cc6f95003..e502f83e3 100644

documentation/security-manual/securing-images.rst more secure: · line 55

Quoted 9 lines
documentation/security-manual/securing-images.rst +3 -3
@@ -50,9 +50,10 @@ more secure:
  -  Regularly scan and apply fixes for CVE security issues affecting
     all software components in the product, see ":ref:`security-manual/vulnerabilities:checking for vulnerabilities`".
 
--  Regularly update your version of Poky and OE-Core from their upstream
-   developers, e.g. to apply updates and security fixes from stable
-   and :term:`LTS` branches.
+-  Regularly update your version of :term:`BitBake` and your layers (e.g.
+   :term:`OpenEmbedded-Core (OE-Core)`, :yocto_git:`meta-yocto </meta-yocto/>`,
+   ...) from their upstream developers, e.g. to apply updates and security fixes

I find the wording a bit odd "update your version [...] from their upstream developers".

Maybe we can simply remove the "from their upstream developers" part?

Thanks!
Quentin

#26 lore raw

PATCH v2 16/56 dev-manual/temporary-source-code.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core.

---
 documentation/dev-manual/temporary-source-code.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
documentation/dev-manual/temporary-source-code.rst +2 -2
index 977edbc3f..aecd34099 100644
@@ -15,8 +15,8 @@ your changes in the form of patches.
 During a build, the unpacked temporary source code used by recipes to
 build packages is available in the :term:`Build Directory` as defined by the
 :term:`S` variable. Below is the default value for the :term:`S` variable as
-defined in the ``meta/conf/bitbake.conf`` configuration file in the
-:term:`Source Directory`::
+defined in the ``meta/conf/bitbake.conf`` configuration file in
+:term:`OpenEmbedded-Core (OE-Core)`::
 
    S = "${UNPACKDIR}/${BP}"
 
Signature · 1 line
2.52.0
#27 lore raw

PATCH v2 17/56 dev-manual/wayland.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core.

---
 documentation/dev-manual/wayland.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/dev-manual/wayland.rst +1 -1
index 097be9cbde..18d1bfb0a6 100644
@@ -14,7 +14,7 @@ might otherwise achieve.
 The Yocto Project provides the Wayland protocol libraries and the
 reference :wikipedia:`Weston <Wayland_(display_server_protocol)#Weston>`
 compositor as part of its release. You can find the integrated packages
-in the ``meta`` layer of the :term:`Source Directory`.
+in the ``meta`` layer of :term:`OpenEmbedded-Core (OE-Core)`.
 Specifically, you
 can find the recipes that build both Wayland and Weston at
 ``meta/recipes-graphics/wayland``.
Signature · 1 line
2.52.0
#28 lore raw

PATCH v2 18/56 dev-manual/wic.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core.

---
 documentation/dev-manual/wic.rst | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
documentation/dev-manual/wic.rst +10 -10
index 07170537b..60b08f834 100644
@@ -276,8 +276,8 @@ existing file provided by the Wic installation. As shipped, kickstart
 files can be found in the :ref:`overview-manual/development-environment:yocto project source repositories` in the
 following two locations::
 
-   poky/meta-yocto-bsp/wic
-   poky/scripts/lib/wic/canned-wks
+   meta-yocto/meta-yocto-bsp/wic
+   openembedded-core/scripts/lib/wic/canned-wks
 
 Use the following command to list the available kickstart files::
 
@@ -342,12 +342,12 @@ partition.
 Source plugins are subclasses defined in plugin files. As shipped, the
 Yocto Project provides several plugin files. You can see the source
 plugin files that ship with the Yocto Project
-:yocto_git:`here </poky/tree/scripts/lib/wic/plugins/source>`.
+:oe_git:`here </openembedded-core/tree/scripts/lib/wic/plugins/source>`.
 Each of these plugin files contains source plugins that are designed to
 populate a specific Wic image partition.
 
 Source plugins are subclasses of the ``SourcePlugin`` class, which is
-defined in the ``poky/scripts/lib/wic/pluginbase.py`` file. For example,
+defined in the ``openembedded-core/scripts/lib/wic/pluginbase.py`` file. For example,
 the ``BootimgEFIPlugin`` source plugin found in the ``bootimg_efi.py``
 file is a subclass of the ``SourcePlugin`` class, which is found in the
 ``pluginbase.py`` file.
@@ -527,8 +527,8 @@ This next example demonstrates that through modification of the
 As mentioned earlier, you can use the command ``wic list images`` to
 show the list of existing kickstart files. The directory in which the
 ``directdisk-gpt.wks`` file resides is
-``scripts/lib/image/canned-wks/``, which is located in the
-:term:`Source Directory` (e.g. ``poky``).
+``scripts/lib/image/canned-wks/``, which is located in
+:term:`OpenEmbedded-Core (OE-Core)`.
 Because available files reside in this directory, you can create and add
 your own custom files to the directory. Subsequent use of the
 ``wic list images`` command would then include your kickstart files.
@@ -542,8 +542,8 @@ The example begins by making a copy of the ``directdisk-gpt.wks`` file
 in the ``scripts/lib/image/canned-wks`` directory and then by changing
 the lines that specify the target disk from which to boot::
 
-   $ cp /home/stephano/yocto/poky/scripts/lib/wic/canned-wks/directdisk-gpt.wks \
-        /home/stephano/yocto/poky/scripts/lib/wic/canned-wks/directdisksdb-gpt.wks
+   $ cp /home/stephano/yocto/openembedded-core/scripts/lib/wic/canned-wks/directdisk-gpt.wks \
+        /home/stephano/yocto/openembedded-core/scripts/lib/wic/canned-wks/directdisksdb-gpt.wks
 
 Next, the example modifies the ``directdisksdb-gpt.wks`` file and
 changes all instances of "``--ondisk sda``" to "``--ondisk sdb``". The
@@ -580,7 +580,7 @@ Computing (nuc) :term:`MACHINE` the
      NATIVE_SYSROOT:               /home/stephano/yocto/build/tmp-glibc/work/i586-oe-linux/wic-tools/1.0-r0/recipe-sysroot-native
 
    INFO: The image(s) were created using OE kickstart file:
-     /home/stephano/yocto/poky/scripts/lib/wic/canned-wks/directdisksdb-gpt.wks
+     /home/stephano/yocto/openembedded-core/scripts/lib/wic/canned-wks/directdisksdb-gpt.wks
 
 Continuing with the example, you can now directly ``dd`` the image to a
 USB stick, or whatever media for which you built your image, and boot
@@ -717,7 +717,7 @@ the existing kernel, and then inserts a new kernel:
    kernel::
 
       $ wic cp poky_sdk/tmp/work/qemux86-poky-linux/linux-yocto/4.12.12+git999-r0/linux-yocto-4.12.12+git999/arch/x86/boot/bzImage \
-               poky/build/tmp/deploy/images/qemux86/core-image-minimal-qemux86.wic:1/vmlinuz
+               build/tmp/deploy/images/qemux86/core-image-minimal-qemux86.wic:1/vmlinuz
 
    Once the new kernel is added back into the image, you can use the
    ``dd`` command or :ref:`bmaptool
Signature · 1 line
2.52.0
#29 lore raw

PATCH v2 19/56 kernel-dev/common.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core.

---
 documentation/kernel-dev/common.rst | 112 +++++++++++++++---------------------
 1 file changed, 46 insertions(+), 66 deletions(-)
documentation/kernel-dev/common.rst +46 -66
index 2142d31c0..a653d897c 100644
@@ -44,25 +44,15 @@ image and ready to make modifications as described in the
 ":ref:`kernel-dev/common:using \`\`devtool\`\` to patch the kernel`"
 section:
 
-#. *Initialize the BitBake Environment:*
-   you need to initialize the BitBake build environment by sourcing
-   the build environment script (i.e. :ref:`structure-core-script`)::
-
-      $ cd poky
-      $ source oe-init-build-env
-
-   .. note::
-
-      The previous commands assume the
-      :ref:`overview-manual/development-environment:yocto project source repositories`
-      (i.e. ``poky``) have been cloned using Git and the local repository is named
-      "poky".
+#. *Initialize the Build Environment:* Follow the :doc:`/dev-manual/start`
+   section of the Yocto Project Development Tasks Manual in order to have a
+   ready-to-use shell that can execute ``devtool``.
 
 #. *Prepare Your local.conf File:* By default, the :term:`MACHINE` variable
    is set to "qemux86-64", which is fine if you are building for the QEMU
    emulator in 64-bit mode. However, if you are not, you need to set the
    :term:`MACHINE` variable appropriately in your ``conf/local.conf`` file
-   found in the :term:`Build Directory` (i.e.  ``poky/build`` in this example).
+   found in the :term:`Build Directory` (i.e.  ``bitbake-builds/build`` in this example).
 
    Also, since you are preparing to work on the kernel image, you need
    to set the :term:`MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS` variable to include
@@ -79,7 +69,7 @@ section:
    patches created for the kernel image. You can use the
    ``bitbake-layers create-layer`` command as follows::
 
-      $ cd poky/build
+      $ cd bitbake-builds/build
       $ bitbake-layers create-layer ../../meta-mylayer
       NOTE: Starting bitbake server...
       Add your new layer with 'bitbake-layers add-layer ../../meta-mylayer'
@@ -103,7 +93,7 @@ section:
    :term:`BBLAYERS` variable in the
    ``bblayers.conf`` file as follows::
 
-      $ cd poky/build
+      $ cd bitbake-builds/build
       $ bitbake-layers add-layer ../../meta-mylayer
       NOTE: Starting bitbake server...
       $
@@ -157,7 +147,7 @@ section:
    set to "qemux86-64", which is fine if you are building for the QEMU emulator
    in 64-bit mode. However, if you are not, you need to set the :term:`MACHINE`
    variable appropriately in your ``conf/local.conf`` file found in the
-   :term:`Build Directory` (i.e.  ``poky/build`` in this example).
+   :term:`Build Directory` (i.e.  ``bitbake-builds/build`` in this example).
 
    Also, since you are preparing to work on the kernel image, you need
    to set the
@@ -175,7 +165,7 @@ section:
    patches created for the kernel image. You can use the
    ``bitbake-layers create-layer`` command as follows::
 
-      $ cd poky/build
+      $ cd bitbake-builds/build
       $ bitbake-layers create-layer ../../meta-mylayer
       NOTE: Starting bitbake server...
       Add your new layer with 'bitbake-layers add-layer ../../meta-mylayer'
@@ -198,7 +188,7 @@ section:
    :term:`BBLAYERS` variable in the
    ``bblayers.conf`` file as follows::
 
-      $ cd poky/build
+      $ cd bitbake-builds/build
       $ bitbake-layers add-layer ../../meta-mylayer
       NOTE: Starting bitbake server ...
       $
@@ -210,8 +200,7 @@ section:
 
    For simplicity, it is recommended that you create your copy of the
    kernel Git repository outside of the
-   :term:`Source Directory`, which is
-   usually named ``poky``. Also, be sure you are in the
+   :term:`Source Directory`. Also, be sure you are in the
    ``standard/base`` branch.
 
    The following commands show how to create a local copy of the
@@ -237,8 +226,7 @@ section:
 #. *Create a Local Copy of the Kernel Cache Git Repository:* For
    simplicity, it is recommended that you create your copy of the kernel
    cache Git repository outside of the
-   :term:`Source Directory`, which is
-   usually named ``poky``. Also, for this example, be sure you are in
+   :term:`Source Directory`. Also, for this example, be sure you are in
    the ``yocto-4.12`` branch.
 
    The following commands show how to create a local copy of the
@@ -334,8 +322,7 @@ Modifying an Existing Recipe
 In many cases, you can customize an existing linux-yocto recipe to meet
 the needs of your project. Each release of the Yocto Project provides a
 few Linux kernel recipes from which you can choose. These are located in
-the :term:`Source Directory` in
-``meta/recipes-kernel/linux``.
+:term:`OpenEmbedded-Core (OE-Core)` in ``meta/recipes-kernel/linux``.
 
 Modifying an existing recipe can consist of the following:
 
@@ -430,9 +417,8 @@ Although this particular example does not use it, the
 :term:`KERNEL_FEATURES`
 variable could be used to enable features specific to the kernel. The
 append file points to specific commits in the
-:term:`Source Directory` Git repository and
-the ``meta`` Git repository branches to identify the exact kernel needed
-to build the BSP.
+:term:`OpenEmbedded-Core (OE-Core)` Git repository branches to identify the
+exact kernel needed to build the BSP.
 
 One thing missing in this particular BSP, which you will typically need
 when developing a BSP, is the kernel configuration file (``.config``)
@@ -677,7 +663,7 @@ the ":ref:`kernel-dev/common:getting ready to develop using ``devtool```" Sectio
 
               ERROR: Taskhash mismatch 2c793438c2d9f8c3681fd5f7bc819efa versus
                      be3a89ce7c47178880ba7bf6293d7404 for
-                     /path/to/esdk/layers/poky/meta/recipes-kernel/linux/linux-yocto_4.10.bb.do_unpack
+                     /path/to/esdk/layers/openembedded-core/meta/recipes-kernel/linux/linux-yocto_4.10.bb.do_unpack
 
 
       You can safely ignore these messages. The source code is correctly
@@ -688,11 +674,11 @@ the ":ref:`kernel-dev/common:getting ready to develop using ``devtool```" Sectio
 
    #. *Change the working directory*: In the previous step, the output
       noted where you can find the source files (e.g.
-      ``poky_sdk/workspace/sources/linux-yocto``). Change to where the
+      ``build/workspace/sources/linux-yocto``). Change to where the
       kernel source code is before making your edits to the
       ``calibrate.c`` file::
 
-         $ cd poky_sdk/workspace/sources/linux-yocto
+         $ cd build/workspace/sources/linux-yocto
 
    #. *Edit the source file*: Edit the ``init/calibrate.c`` file to have
       the following changes::
@@ -758,7 +744,7 @@ the ":ref:`kernel-dev/common:getting ready to develop using ``devtool```" Sectio
    your working directory to where you modified the ``calibrate.c`` file
    and use these Git commands to stage and commit your changes::
 
-      $ cd poky_sdk/workspace/sources/linux-yocto
+      $ cd build/workspace/sources/linux-yocto
       $ git status
       $ git add init/calibrate.c
       $ git commit -m "calibrate: Add printk example"
@@ -784,7 +770,7 @@ the ":ref:`kernel-dev/common:getting ready to develop using ``devtool```" Sectio
    command from your :term:`Build Directory` in the terminal
    set up to run BitBake::
 
-      $ cd poky/build
+      $ cd bitbake-builds/build
       $ bitbake core-image-minimal
 
 Using Traditional Kernel Development to Patch the Kernel
@@ -868,7 +854,7 @@ Section.
    :term:`SRCREV` statements similar
    to the following to your ``local.conf``::
 
-      $ cd poky/build/conf
+      $ cd bitbake-builds/build/conf
 
    Add the following to the ``local.conf``::
 
@@ -888,14 +874,14 @@ Section.
    committed, and the ``local.conf`` file pointing to the kernel files,
    you can now use BitBake to build the image::
 
-      $ cd poky/build
+      $ cd bitbake-builds/build
       $ bitbake core-image-minimal
 
 #. *Boot the image*: Boot the modified image in the QEMU emulator using
    this command. When prompted to login to the QEMU console, use "root"
    with no password::
 
-      $ cd poky/build
+      $ cd bitbake-builds/build
       $ runqemu qemux86
 
 #. *Look for Your Changes:* As QEMU booted, you might have seen your
@@ -959,14 +945,14 @@ Section.
 
       To build ``core-image-minimal`` again and see the effects of your patch,
       you can essentially eliminate the temporary source files saved in
-      ``poky/build/tmp/work/...`` and residual effects of the build by entering
+      ``bitbake-builds/build/tmp/work/...`` and residual effects of the build by entering
       the following sequence of commands::
 
-              $ cd poky/build
-              $ bitbake -c cleanall linux-yocto
-              $ bitbake core-image-minimal -c cleanall
-              $ bitbake core-image-minimal
-              $ runqemu qemux86
+         $ cd bitbake-builds/build
+         $ bitbake -c cleanall linux-yocto
+         $ bitbake core-image-minimal -c cleanall
+         $ bitbake core-image-minimal
+         $ runqemu qemux86
 
 
 Configuring the Kernel
@@ -1013,10 +999,10 @@ environment, you must do the following:
 The following commands initialize the BitBake environment, run the
 :ref:`ref-tasks-kernel_configme`
 task, and launch ``menuconfig``. These commands assume the Source
-Directory's top-level folder is ``poky``::
+Directory's top-level folder is ``work``::
 
-   $ cd poky
-   $ source oe-init-build-env
+   $ cd work
+   $ source layers/openembedded-core/oe-init-build-env
    $ bitbake linux-yocto -c kernel_configme -f
    $ bitbake linux-yocto -c menuconfig
 
@@ -1063,7 +1049,7 @@ the ``.config`` file would be:
 
 .. code-block:: none
 
-   poky/build/tmp/work/qemux86-poky-linux/linux-yocto/4.12.12+gitAUTOINC+eda4d18...
+   bitbake-builds/build/tmp/work/qemux86-poky-linux/linux-yocto/4.12.12+gitAUTOINC+eda4d18...
    ...967-r0/linux-qemux86-standard-build/.config
 
 .. note::
@@ -1279,32 +1265,32 @@ Here is sample output from the :ref:`ref-tasks-kernel_configcheck` task:
 
    ---------- CONFIG_X86_TSC -----------------
    Config: CONFIG_X86_TSC
-   From: /home/scottrif/poky/build/tmp/work-shared/qemux86/kernel-source/.kernel-meta/configs/standard/bsp/common-pc/common-pc-cpu.cfg
+   From: /home/scottrif/bitbake-builds/build/tmp/work-shared/qemux86/kernel-source/.kernel-meta/configs/standard/bsp/common-pc/common-pc-cpu.cfg
    Requested value:  CONFIG_X86_TSC=y
    Actual value:
 
 
    ---------- CONFIG_X86_BIGSMP -----------------
    Config: CONFIG_X86_BIGSMP
-   From: /home/scottrif/poky/build/tmp/work-shared/qemux86/kernel-source/.kernel-meta/configs/standard/cfg/smp.cfg
-         /home/scottrif/poky/build/tmp/work-shared/qemux86/kernel-source/.kernel-meta/configs/standard/defconfig
+   From: /home/scottrif/bitbake-builds/build/tmp/work-shared/qemux86/kernel-source/.kernel-meta/configs/standard/cfg/smp.cfg
+         /home/scottrif/bitbake-builds/build/tmp/work-shared/qemux86/kernel-source/.kernel-meta/configs/standard/defconfig
    Requested value:  # CONFIG_X86_BIGSMP is not set
    Actual value:
 
 
    ---------- CONFIG_NR_CPUS -----------------
    Config: CONFIG_NR_CPUS
-   From: /home/scottrif/poky/build/tmp/work-shared/qemux86/kernel-source/.kernel-meta/configs/standard/cfg/smp.cfg
-         /home/scottrif/poky/build/tmp/work-shared/qemux86/kernel-source/.kernel-meta/configs/standard/bsp/common-pc/common-pc.cfg
-         /home/scottrif/poky/build/tmp/work-shared/qemux86/kernel-source/.kernel-meta/configs/standard/defconfig
+   From: /home/scottrif/bitbake-builds/build/tmp/work-shared/qemux86/kernel-source/.kernel-meta/configs/standard/cfg/smp.cfg
+         /home/scottrif/bitbake-builds/build/tmp/work-shared/qemux86/kernel-source/.kernel-meta/configs/standard/bsp/common-pc/common-pc.cfg
+         /home/scottrif/bitbake-builds/build/tmp/work-shared/qemux86/kernel-source/.kernel-meta/configs/standard/defconfig
    Requested value:  CONFIG_NR_CPUS=8
    Actual value:     CONFIG_NR_CPUS=1
 
 
    ---------- CONFIG_SCHED_SMT -----------------
    Config: CONFIG_SCHED_SMT
-   From: /home/scottrif/poky/build/tmp/work-shared/qemux86/kernel-source/.kernel-meta/configs/standard/cfg/smp.cfg
-         /home/scottrif/poky/build/tmp/work-shared/qemux86/kernel-source/.kernel-meta/configs/standard/defconfig
+   From: /home/scottrif/bitbake-builds/build/tmp/work-shared/qemux86/kernel-source/.kernel-meta/configs/standard/cfg/smp.cfg
+         /home/scottrif/bitbake-builds/build/tmp/work-shared/qemux86/kernel-source/.kernel-meta/configs/standard/defconfig
    Requested value:  CONFIG_SCHED_SMT=y
    Actual value:
 
@@ -1459,11 +1445,9 @@ Maintaining format compatibility facilitates converging with linux-yocto
 on a future, mutually-supported kernel version.
 
 To help you use your own sources, the Yocto Project provides a
-linux-yocto custom recipe that uses ``kernel.org`` sources and
-the Yocto Project Linux kernel tools for managing kernel Metadata.
-You can find this recipe in the ``poky`` Git repository:
-:yocto_git:`meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb
-</poky/tree/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb>`.
+:oe_git:`linux-yocto custom recipe </openembedded-core/tree/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb>`
+that uses ``kernel.org`` sources and the Yocto Project Linux kernel tools for
+managing kernel Metadata.
 
 Here are some basic steps you can use to work with your own sources:
 
@@ -1597,13 +1581,9 @@ Incorporating Out-of-Tree Modules
 
 While it is always preferable to work with sources integrated into the
 Linux kernel sources, if you need an external kernel module, the
-``hello-mod.bb`` recipe is available as a template from which you can
-create your own out-of-tree Linux kernel module recipe.
-
-This template recipe is located in the ``poky`` Git repository of the
-Yocto Project:
-:yocto_git:`meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb
-</poky/tree/meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb>`.
+:oe_git:`hello-mod </openembedded-core/tree/meta-skeleton/recipes-kernel/hello-mod/>`
+recipe is available as a template from which you can create your own out-of-tree
+Linux kernel module recipe.
 
 To get started, copy this recipe to your layer and give it a meaningful
 name (e.g. ``mymodule_1.0.bb``). In the same directory, create a new
Signature · 1 line
2.52.0
Reviewed-by on v2 19/56
#30 lore raw

Re: [docs] [PATCH v2 19/56] kernel-dev/common.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 29 lines · Antonin Godard via lists.yoctoproject.org

Remove references to the Poky repository, replace by OpenEmbedded-Core.

---
  documentation/kernel-dev/common.rst | 112 +++++++++++++++---------------------
  1 file changed, 46 insertions(+), 66 deletions(-)
documentation/kernel-dev/common.rst +1 -13
index 2142d31c0..a653d897c 100644
@@ -44,25 +44,15 @@ image and ready to make modifications as described in the
  ":ref:`kernel-dev/common:using \`\`devtool\`\` to patch the kernel`"
  section:
 
-#. *Initialize the BitBake Environment:*
-   you need to initialize the BitBake build environment by sourcing
-   the build environment script (i.e. :ref:`structure-core-script`)::
-
-      $ cd poky
-      $ source oe-init-build-env
-
-   .. note::
-
-      The previous commands assume the
-      :ref:`overview-manual/development-environment:yocto project source repositories`
-      (i.e. ``poky``) have been cloned using Git and the local repository is named
-      "poky".
+#. *Initialize the Build Environment:* Follow the :doc:`/dev-manual/start`

documentation/kernel-dev/common.rst image and ready to make modifications as described in the · line 56

Quoted 10 lines
documentation/kernel-dev/common.rst +3 -1
+   section of the Yocto Project Development Tasks Manual in order to have a
+   ready-to-use shell that can execute ``devtool``.
 
  #. *Prepare Your local.conf File:* By default, the :term:`MACHINE` variable
     is set to "qemux86-64", which is fine if you are building for the QEMU
     emulator in 64-bit mode. However, if you are not, you need to set the
     :term:`MACHINE` variable appropriately in your ``conf/local.conf`` file
-   found in the :term:`Build Directory` (i.e.  ``poky/build`` in this example).
+   found in the :term:`Build Directory` (i.e.  ``bitbake-builds/build`` in this example).
 

I... just realized that bitbake-setup init actually creates an additional directory. It is bitbake-builds/poky-master/build actually. Sigh.

documentation/kernel-dev/common.rst section: · line 73

Quoted 9 lines
documentation/kernel-dev/common.rst +1 -1
     Also, since you are preparing to work on the kernel image, you need
     to set the :term:`MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS` variable to include
@@ -79,7 +69,7 @@ section:
     patches created for the kernel image. You can use the
     ``bitbake-layers create-layer`` command as follows::
 
-      $ cd poky/build
+      $ cd bitbake-builds/build
        $ bitbake-layers create-layer ../../meta-mylayer

I would suggest to change this path to ../layers/meta-mylayer such that it follows our recommendation of having all the layers in the same place. In a separate patch/series is fine.

This patch looks fine though,

Thanks!
Quentin

#31 lore raw

PATCH v2 20/56 migration-guides/migration-1.4.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core.

---
 documentation/migration-guides/migration-1.4.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/migration-guides/migration-1.4.rst +1 -1
index 6db2a035b8..5d8d0ffde8 100644
@@ -82,7 +82,7 @@ Custom Interfaces File (netbase change)
 If you have created your own custom ``etc/network/interfaces`` file by
 creating an append file for the ``netbase`` recipe, you now need to
 create an append file for the ``init-ifupdown`` recipe instead, which
-you can find in the :term:`Source Directory` at
+you can find in :term:`OpenEmbedded-Core (OE-Core)` at
 ``meta/recipes-core/init-ifupdown``. For information on how to use
 append files, see the
 ":ref:`dev-manual/layers:appending other layers metadata with your layer`"
Signature · 1 line
2.52.0
#32 lore raw

PATCH v2 21/56 overview-manual/concepts.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core.

---
 documentation/overview-manual/concepts.rst | 74 ++++++++----------------------
 1 file changed, 20 insertions(+), 54 deletions(-)
documentation/overview-manual/concepts.rst +20 -54
index 9ca188960..757ea05cb 100644
@@ -211,62 +211,28 @@ figure <overview-manual/concepts:openembedded build system concepts>`:
 BitBake needs some basic configuration files in order to complete a
 build. These files are ``*.conf`` files. The minimally necessary ones
 reside as example files in the ``build/conf`` directory of the
-:term:`Source Directory`. For simplicity,
-this section refers to the Source Directory as the "Poky Directory."
+:term:`Build Directory`.
 
-When you clone the :term:`Poky` Git repository
-or you download and unpack a Yocto Project release, you can set up the
-Source Directory to be named anything you want. For this discussion, the
-cloned repository uses the default name ``poky``.
+When you :ref:`initialize the build environment <dev-manual/start:Initializing
+the Build Environment>`, you can set up the :term:`Source Directory` to be named
+anything you want.
 
-.. note::
-
-   The Poky repository is primarily an aggregation of existing
-   repositories. It is not a canonical upstream source.
-
-The ``meta-poky`` layer inside Poky contains a ``conf`` directory that
-has example configuration files. These example files are used as a basis
-for creating actual configuration files when you source
-:ref:`structure-core-script`, which is the
-build environment script.
-
-Sourcing the build environment script creates a :term:`Build Directory`
+Setting up the build environment creates a :term:`Build Directory`
 if one does not already exist. BitBake uses the :term:`Build Directory`
 for all its work during builds. The Build Directory has a ``conf`` directory
 that contains default versions of your ``local.conf`` and ``bblayers.conf``
-configuration files. These default configuration files are created only
-if versions do not already exist in the :term:`Build Directory` at the time you
-source the build environment setup script.
-
-Because the Poky repository is fundamentally an aggregation of existing
-repositories, some users might be familiar with running the
-:ref:`structure-core-script` script in the context of separate
-:term:`OpenEmbedded-Core (OE-Core)` and BitBake
-repositories rather than a single Poky repository. This discussion
-assumes the script is executed from within a cloned or unpacked version
-of Poky.
-
-Depending on where the script is sourced, different sub-scripts are
-called to set up the :term:`Build Directory` (Yocto or OpenEmbedded).
-Specifically, the script ``scripts/oe-setup-builddir`` inside the poky
-directory sets up the :term:`Build Directory` and seeds the directory (if
-necessary) with configuration files appropriate for the Yocto Project
-development environment.
-
-.. note::
+configuration files. These default :term:`configuration files <Configuration
+File>` are created only if versions do not already exist in the :term:`Build
+Directory` at the time you source the build environment setup script.
 
-   The
-   ``scripts/oe-setup-builddir``
-   script uses the
-   ``$TEMPLATECONF``
-   variable to determine which sample configuration files to locate.
+:term:`Configuration files <Configuration File>` provide many basic variables
+that define a build environment.  To see a list of possible variables to
+configure from :term:`configuration files <Configuration File>`, see the
+:yocto_git:`local.conf.sample
+</meta-yocto/tree/meta-poky/conf/templates/default/local.conf.sample>` in the
+``meta-poky`` layer:
 
-The ``local.conf`` file provides many basic variables that define a
-build environment. Here is a list of a few. To see the default
-configurations in a ``local.conf`` file created by the build environment
-script, see the
-:yocto_git:`local.conf.sample </poky/tree/meta-poky/conf/templates/default/local.conf.sample>`
-in the ``meta-poky`` layer:
+Here is a list of a few:
 
 -  *Target Machine Selection:* Controlled by the
    :term:`MACHINE` variable.
@@ -371,18 +337,18 @@ figure <overview-manual/concepts:openembedded build system concepts>`:
    configurations. This type of information is specific to a particular
    target architecture. A good example of a BSP layer from the
    :ref:`overview-manual/yp-intro:reference distribution (poky)` is the
-   :yocto_git:`meta-yocto-bsp </poky/tree/meta-yocto-bsp>`
+   :yocto_git:`meta-yocto-bsp </meta-yocto/tree/meta-yocto-bsp>`
    layer.
 
 -  *Policy Configuration:* Distribution Layers (i.e. "Distro Layer" in
    the following figure) providing top-level or general policies for the
    images or SDKs being built for a particular distribution. For
    example, in the Poky Reference Distribution the distro layer is the
-   :yocto_git:`meta-poky </poky/tree/meta-poky>`
+   :yocto_git:`meta-poky </meta-yocto/tree/meta-poky>`
    layer. Within the distro layer is a ``conf/distro`` directory that
    contains distro configuration files (e.g.
-   :yocto_git:`poky.conf </poky/tree/meta-poky/conf/distro/poky.conf>`
-   that contain many policy configurations for the Poky distribution.
+   :yocto_git:`poky.conf </meta-yocto/tree/meta-poky/conf/distro/poky.conf>`
+   that contain many policy configurations for the :term:`Poky` distribution.
 
 The following figure shows an expanded representation of these three
 layers from the :ref:`general workflow figure
@@ -840,7 +806,7 @@ This step in the build process consists of the following tasks:
    :term:`PACKAGECONFIG_CONFARGS`
    variables. For information on how this variable works within that
    class, see the :ref:`ref-classes-autotools` class
-   :yocto_git:`here </poky/tree/meta/classes-recipe/autotools.bbclass>`.
+   :oe_git:`here </openembedded-core/tree/meta/classes-recipe/autotools.bbclass>`.
 
 -  *do_compile*: Once a configuration task has been satisfied,
    BitBake compiles the source using the
Signature · 1 line
2.52.0
#33 lore raw

Re: [docs] [PATCH v2 21/56] overview-manual/concepts.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 12 lines · Antonin Godard via lists.yoctoproject.org

Remove references to the Poky repository, replace by OpenEmbedded-Core.

---
  documentation/overview-manual/concepts.rst | 74 ++++++++----------------------
  1 file changed, 20 insertions(+), 54 deletions(-)
documentation/overview-manual/concepts.rst +0 -0
index 9ca188960..757ea05cb 100644

documentation/overview-manual/concepts.rst figure <overview-manual/concepts:openembedded build system concepts>`: · line 213

Quoted 3 lines
documentation/overview-manual/concepts.rst +0 -0
@@ -211,62 +211,28 @@ figure <overview-manual/concepts:openembedded build system concepts>`:
  BitBake needs some basic configuration files in order to complete a
  build. These files are ``*.conf`` files. The minimally necessary ones
  reside as example files in the ``build/conf`` directory of the

s;build/;;

as conf is a directory of :term:Build Directory

documentation/overview-manual/concepts.rst figure <overview-manual/concepts:openembedded build system concepts>`: · line 219

Quoted 12 lines
documentation/overview-manual/concepts.rst +4 -6
-:term:`Source Directory`. For simplicity,
-this section refers to the Source Directory as the "Poky Directory."
+:term:`Build Directory`.
 
-When you clone the :term:`Poky` Git repository
-or you download and unpack a Yocto Project release, you can set up the
-Source Directory to be named anything you want. For this discussion, the
-cloned repository uses the default name ``poky``.
+When you :ref:`initialize the build environment <dev-manual/start:Initializing
+the Build Environment>`, you can set up the :term:`Source Directory` to be named
+anything you want.
 

Oof, I don't think that's true. Spaces probably aren't supported for example, I vaguely remember some bug report.

Maybe something a bit less extreme like

you can specify which directory will be the :term:Source Directory.

Quoted 28 lines
documentation/overview-manual/concepts.rst +1 -24
-.. note::
-
-   The Poky repository is primarily an aggregation of existing
-   repositories. It is not a canonical upstream source.
-
-The ``meta-poky`` layer inside Poky contains a ``conf`` directory that
-has example configuration files. These example files are used as a basis
-for creating actual configuration files when you source
-:ref:`structure-core-script`, which is the
-build environment script.
-
-Sourcing the build environment script creates a :term:`Build Directory`
+Setting up the build environment creates a :term:`Build Directory`
  if one does not already exist. BitBake uses the :term:`Build Directory`
  for all its work during builds. The Build Directory has a ``conf`` directory
  that contains default versions of your ``local.conf`` and ``bblayers.conf``
-configuration files. These default configuration files are created only
-if versions do not already exist in the :term:`Build Directory` at the time you
-source the build environment setup script.
-
-Because the Poky repository is fundamentally an aggregation of existing
-repositories, some users might be familiar with running the
-:ref:`structure-core-script` script in the context of separate
-:term:`OpenEmbedded-Core (OE-Core)` and BitBake
-repositories rather than a single Poky repository. This discussion
-assumes the script is executed from within a cloned or unpacked version
-of Poky.
-

documentation/overview-manual/concepts.rst figure <overview-manual/concepts:openembedded build system concepts>`: · line 225

Quoted 10 lines
documentation/overview-manual/concepts.rst +2 -8
-Depending on where the script is sourced, different sub-scripts are
-called to set up the :term:`Build Directory` (Yocto or OpenEmbedded).
-Specifically, the script ``scripts/oe-setup-builddir`` inside the poky
-directory sets up the :term:`Build Directory` and seeds the directory (if
-necessary) with configuration files appropriate for the Yocto Project
-development environment.
-
-.. note::
+configuration files. These default :term:`configuration files <Configuration
+File>` are created only if versions do not already exist in the :term:`Build

Reported on v1:

s/versions/they/?

documentation/overview-manual/concepts.rst figure <overview-manual/concepts:openembedded build system concepts>`: · line 229

Quoted 9 lines
documentation/overview-manual/concepts.rst +3 -5
+Directory` at the time you source the build environment setup script.
 
-   The
-   ``scripts/oe-setup-builddir``
-   script uses the
-   ``$TEMPLATECONF``
-   variable to determine which sample configuration files to locate.
+:term:`Configuration files <Configuration File>` provide many basic variables
+that define a build environment.  To see a list of possible variables to

Reported on v1:

s/see/show/ to avoid using "see" twice in the same sentence.

s/ / /

documentation/overview-manual/concepts.rst figure <overview-manual/concepts:openembedded build system concepts>`: · line 236

Quoted 13 lines
documentation/overview-manual/concepts.rst +5 -6
+configure from :term:`configuration files <Configuration File>`, see the
+:yocto_git:`local.conf.sample
+</meta-yocto/tree/meta-poky/conf/templates/default/local.conf.sample>` in the
+``meta-poky`` layer:
 
-The ``local.conf`` file provides many basic variables that define a
-build environment. Here is a list of a few. To see the default
-configurations in a ``local.conf`` file created by the build environment
-script, see the
-:yocto_git:`local.conf.sample </poky/tree/meta-poky/conf/templates/default/local.conf.sample>`
-in the ``meta-poky`` layer:
+Here is a list of a few:
 

Reported on v1:

s/a list of a few/a non-exhaustive list/ ?

Cheers,
Quentin

#34 lore raw

PATCH v2 22/56 overview-manual/development-environment.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core. Replace the poky examples for the Git section by yocto-docs.

---
 .../overview-manual/development-environment.rst    | 83 +++++++++++-----------
 1 file changed, 41 insertions(+), 42 deletions(-)
documentation/overview-manual/development-environment.rst +41 -42
index ab9bd084c..0402e3456 100644
@@ -148,44 +148,42 @@ code browser is organized into categories by function such as IDE
 Plugins, Matchbox, Poky, Yocto Linux Kernel, and so forth. From the
 interface, you can click on any particular item in the "Name" column and
 see the URL at the bottom of the page that you need to clone a Git
-repository for that particular item. Having a local Git repository of
-the :term:`Source Directory`, which
-is usually named "poky", allows you to make changes, contribute to the
+repository for that particular item. Having a local Git clone of
+these repositories allows you to make changes, contribute to the
 history, and ultimately enhance the Yocto Project's tools, Board Support
 Packages, and so forth.
 
 For any supported release of Yocto Project, you can also go to the
-:yocto_home:`Yocto Project Website <>` and select the "DOWNLOADS"
-item from the "SOFTWARE" menu and get a released tarball of the ``poky``
-repository, any supported BSP tarball, or Yocto Project tools. Unpacking
+:yocto_home:`Yocto Project Website <>` and select the "RELEASES"
+item from the "DEVELOPMENT" menu and get a released tarball of the
+repositories, any supported BSP tarball, or Yocto Project tools. Unpacking
 these tarballs gives you a snapshot of the released files.
 
 .. note::
 
    -  The recommended method for setting up the Yocto Project
-      :term:`Source Directory` and the files
-      for supported BSPs (e.g., ``meta-intel``) is to use
-      :ref:`overview-manual/development-environment:git`
+      is to use :ref:`overview-manual/development-environment:git`
       to create a local copy of the upstream repositories.
 
    -  Be sure to always work in matching branches for both the selected
-      BSP repository and the Source Directory (i.e. ``poky``)
-      repository. For example, if you have checked out the "&DISTRO_NAME_NO_CAP;"
-      branch of ``poky`` and you are going to use ``meta-intel``, be
+      BSP repository, the :term:`OpenEmbedded-Core (OE-Core)` and
+      :term:`BitBake` repositories. For example, if you have checked out the "&DISTRO_NAME_NO_CAP;"
+      branch of :term:`OpenEmbedded-Core (OE-Core)` and you are going to use ``meta-intel``, be
       sure to checkout the "&DISTRO_NAME_NO_CAP;" branch of ``meta-intel``.
 
 In summary, here is where you can get the project files needed for
 development:
 
--  :yocto_git:`Source Repositories: <>` This area contains Poky, Yocto
-   documentation, metadata layers, and Linux kernel. You can create local
-   copies of Git repositories for each of these areas.
+-  :yocto_git:`Source Repositories: <>` This area contains :term:`BitBake`,
+   :term:`OpenEmbedded-Core (OE-Core)`, Yocto documentation and other metadata
+   layers. You can create local copies of Git repositories for each of these
+   areas.
 
    .. image:: figures/source-repos.png
       :width: 100%
 
--  :yocto_home:`DOWNLOADS page </software-overview/downloads/>`:
-   The :yocto_home:`Yocto Project website <>` includes a "DOWNLOADS" page accessible
+-  :yocto_home:`RELEASES page </development/releases/>`:
+   The :yocto_home:`Yocto Project website <>` includes a "RELEASES" page accessible
    through the "SOFTWARE" menu that allows you to download any Yocto
    Project release, tool, and Board Support Package (BSP) in tarball
    form. The hyperlinks point to the tarballs under
@@ -230,11 +228,11 @@ and so forth.
    ":doc:`/contributor-guide/identify-component`"
    section of the Yocto Project and OpenEmbedded Contributor Guide.
 
-The Yocto Project ``poky`` Git repository also has an upstream
-contribution Git repository named ``poky-contrib``. You can see all the
+The Yocto Project Git repositories may also have upstream
+contribution Git repositories suffixed with ``-contrib``. You can see all the
 branches in this repository using the web interface of the
-:yocto_git:`Source Repositories <>` organized within the "Poky Support"
-area. These branches hold changes (commits) to the project that have
+:yocto_git:`Source Repositories <>`.
+These branches hold changes (commits) to the project that have
 been submitted or committed by the Yocto Project development team and by
 community members who contribute to the project. The maintainer
 determines if the changes are qualified to be moved from the "contrib"
@@ -323,7 +321,7 @@ Book <https://book.git-scm.com>`__.
    software on which to develop. The Yocto Project has two scripts named
    ``create-pull-request`` and ``send-pull-request`` that ship with the
    release to facilitate this workflow. You can find these scripts in
-   the ``scripts`` folder of the :term:`Source Directory`. For information
+   the ``scripts`` folder of :term:`OpenEmbedded-Core (OE-Core)`. For information
    on how to use these scripts, see the
    ":ref:`contributor-guide/submit-changes:using scripts to push a change upstream and request a pull`"
    section in the Yocto Project and OpenEmbedded Contributor Guide.
@@ -377,7 +375,7 @@ local experimentation on projects as you develop changes or new
 features.
 
 A Git repository represents all development efforts for a given project.
-For example, the Git repository ``poky`` contains all changes and
+For example, the Git repository :yocto_git:`yocto-docs </yocto-docs>` contains all changes and
 developments for that repository over the course of its entire life.
 That means that all changes that make up all releases are captured. The
 repository maintains a complete history of changes.
@@ -390,10 +388,10 @@ locally.
 
 It is important to understand that Git tracks content change and not
 files. Git uses "branches" to organize different development efforts.
-For example, the ``poky`` repository has several branches that include
+For example, the :yocto_git:`yocto-docs </yocto-docs>` repository has several branches that include
 the current "&DISTRO_NAME_NO_CAP;" branch, the "master" branch, and many
 branches for past Yocto Project releases. You can see all the branches
-by going to :yocto_git:`/poky/` and clicking on the
+by going to :yocto_git:`yocto-docs </yocto-docs/>` and clicking on the
 ``[...]`` link beneath the "Branch" heading.
 
 Each of these branches represents a specific area of development. The
@@ -409,15 +407,15 @@ development branch in the repository. To help illustrate, consider the
 following example Git commands::
 
    $ cd ~
-   $ git clone git://git.yoctoproject.org/poky -b &DISTRO_NAME_NO_CAP;
+   $ git clone git://git.yoctoproject.org/yocto-docs -b &DISTRO_NAME_NO_CAP;
 
 In the previous example
 after moving to the home directory, the ``git clone`` command creates a
-local copy of the upstream ``poky`` Git repository and checks out a
+local copy of the upstream ``yocto-docs`` Git repository and checks out a
 local branch named "&DISTRO_NAME_NO_CAP;", which tracks the upstream
 "origin/&DISTRO_NAME_NO_CAP;" branch. Changes you make while in this
 branch would ultimately affect the upstream "&DISTRO_NAME_NO_CAP;" branch
-of the ``poky`` repository.
+of the ``yocto-docs`` repository.
 
 It is important to understand that when you create and checkout a local
 working branch based on a branch name, your local environment matches
@@ -432,13 +430,12 @@ Yocto Project Release.
 Git uses "tags" to mark specific changes in a repository branch
 structure. Typically, a tag is used to mark a special point such as the
 final change (or commit) before a project is released. You can see the
-tags used with the ``poky`` Git repository by going to :yocto_git:`/poky/`
+tags used with the ``yocto-docs`` Git repository by going to :yocto_git:`/yocto-docs/`
 and clicking on the ``[...]`` link beneath the "Tag" heading.
 
-Some key tags for the ``poky`` repository are ``jethro-14.0.3``,
-``morty-16.0.1``, ``pyro-17.0.0``, and
-``&DISTRO_NAME_NO_CAP;-&DISTRO;``. These tags represent Yocto Project
-releases.
+Some key tags for the ``yocto-docs`` repository are ``kirkstone-4.0.30``,
+``scarthgap-5.0.1``, and ``&DISTRO_NAME_NO_CAP;-&DISTRO;``. These tags represent
+Yocto Project releases.
 
 When you create a local copy of the Git repository, you also have access
 to all the tags in the upstream repository. Similar to branches, you can
@@ -449,19 +446,19 @@ The most common use is to checkout a working branch that matches a
 specific Yocto Project release. Here is an example::
 
    $ cd ~
-   $ git clone git://git.yoctoproject.org/poky
-   $ cd poky
+   $ git clone git://git.yoctoproject.org/yocto-docs
+   $ cd yocto-docs
    $ git fetch --tags
-   $ git checkout tags/rocko-18.0.0 -b my_rocko-18.0.0
+   $ git checkout tags/&DISTRO_NAME_NO_CAP;-&DISTRO; -b my_&DISTRO_NAME_NO_CAP;-&DISTRO;
 
 In this example, the name
 of the top-level directory of your local Yocto Project repository is
-``poky``. After moving to the ``poky`` directory, the ``git fetch``
+``yocto-docs``. After moving to the ``yocto-docs`` directory, the ``git fetch``
 command makes all the upstream tags available locally in your
 repository. Finally, the ``git checkout`` command creates and checks out
-a branch named "my-rocko-18.0.0" that is based on the upstream branch
+a branch named "my_&DISTRO_NAME_NO_CAP;-&DISTRO;" that is based on the upstream branch
 whose "HEAD" matches the commit in the repository associated with the
-"rocko-18.0.0" tag. The files in your repository now exactly match that
+"&DISTRO_NAME_NO_CAP;-&DISTRO;" tag. The files in your repository now exactly match that
 particular Yocto Project release as it is tagged in the upstream Git
 repository. It is important to understand that when you create and
 checkout a local working branch based on a tag, your environment matches
@@ -596,7 +593,8 @@ MIT license :wikipedia:`here <MIT_License>`.
 
 When you build an image using the Yocto Project, the build process uses
 a known list of licenses to ensure compliance. You can find this list in
-the :term:`Source Directory` at ``meta/files/common-licenses``. Once the
+:term:`OpenEmbedded-Core (OE-Core)` at :oe_git:`meta/files/common-licenses
+</openembedded-core/tree/meta/files/common-licenses>`. Once the
 build completes, the list of all licenses found and used during that build
 are kept in the :term:`Build Directory` at ``tmp/deploy/licenses``.
 
@@ -617,8 +615,9 @@ Source Definition and the effort for reviewing and approving licenses
 that conform to the Open Source Definition (OSD).
 
 You can find a list of the combined SPDX and OSI licenses that the Yocto
-Project uses in the ``meta/files/common-licenses`` directory in your
-:term:`Source Directory`.
+Project uses in the :oe_git:`meta/files/common-licenses
+</openembedded-core/tree/meta/files/common-licenses>` directory in
+:term:`OpenEmbedded-Core (OE-Core)`.
 
 For information that can help you maintain compliance with various open
 source licensing during the lifecycle of a product created using the
Signature · 1 line
2.52.0
#35 lore raw

Re: [docs] [PATCH v2 22/56] overview-manual/development-environment.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 20 lines · Antonin Godard via lists.yoctoproject.org

Remove references to the Poky repository, replace by OpenEmbedded-Core. Replace the poky examples for the Git section by yocto-docs.

---
  .../overview-manual/development-environment.rst    | 83 +++++++++++-----------
  1 file changed, 41 insertions(+), 42 deletions(-)
documentation/overview-manual/development-environment.rst +1 -3
index ab9bd084c..0402e3456 100644
@@ -148,44 +148,42 @@ code browser is organized into categories by function such as IDE
  Plugins, Matchbox, Poky, Yocto Linux Kernel, and so forth. From the
  interface, you can click on any particular item in the "Name" column and
  see the URL at the bottom of the page that you need to clone a Git
-repository for that particular item. Having a local Git repository of
-the :term:`Source Directory`, which
-is usually named "poky", allows you to make changes, contribute to the
+repository for that particular item. Having a local Git clone of

documentation/overview-manual/development-environment.rst code browser is organized into categories by function such as IDE · line 158

Quoted 10 lines
documentation/overview-manual/development-environment.rst +3 -3
+these repositories allows you to make changes, contribute to the
  history, and ultimately enhance the Yocto Project's tools, Board Support
  Packages, and so forth.
 
  For any supported release of Yocto Project, you can also go to the
-:yocto_home:`Yocto Project Website <>` and select the "DOWNLOADS"
-item from the "SOFTWARE" menu and get a released tarball of the ``poky``
-repository, any supported BSP tarball, or Yocto Project tools. Unpacking
+:yocto_home:`Yocto Project Website <>` and select the "RELEASES"
+item from the "DEVELOPMENT" menu and get a released tarball of the

Why making it harder to maintain by telling the user where to click instead of just providing a direct link which we can check with linkcheck if we want to?

s/RELEASES/Releases/

s/DEVELOPMENT/Development/

[...]

documentation/overview-manual/development-environment.rst code browser is organized into categories by function such as IDE · line 187

Quoted 5 lines
documentation/overview-manual/development-environment.rst +2 -2
--  :yocto_home:`DOWNLOADS page </software-overview/downloads/>`:
-   The :yocto_home:`Yocto Project website <>` includes a "DOWNLOADS" page accessible
+-  :yocto_home:`RELEASES page </development/releases/>`:
+   The :yocto_home:`Yocto Project website <>` includes a "RELEASES" page accessible
     through the "SOFTWARE" menu that allows you to download any Yocto

through the "Development" menu.

Also, they all are capitalized but not uppercase, i.e. Releases and not RELEASES.

documentation/overview-manual/development-environment.rst and so forth. · line 233

Quoted 11 lines
documentation/overview-manual/development-environment.rst +2 -2
     Project release, tool, and Board Support Package (BSP) in tarball
     form. The hyperlinks point to the tarballs under
@@ -230,11 +228,11 @@ and so forth.
     ":doc:`/contributor-guide/identify-component`"
     section of the Yocto Project and OpenEmbedded Contributor Guide.
 
-The Yocto Project ``poky`` Git repository also has an upstream
-contribution Git repository named ``poky-contrib``. You can see all the
+The Yocto Project Git repositories may also have upstream
+contribution Git repositories suffixed with ``-contrib``. You can see all the
  branches in this repository using the web interface of the

Reported in v1:

You mention there can be multiple repositories but here you say "this repository" which is confusing. Maybe use one of the contrib git repos as example.

[...]

Quoted 13 lines
documentation/overview-manual/development-environment.rst +3 -3
@@ -449,19 +446,19 @@ The most common use is to checkout a working branch that matches a
  specific Yocto Project release. Here is an example::
 
     $ cd ~
-   $ git clone git://git.yoctoproject.org/poky
-   $ cd poky
+   $ git clone git://git.yoctoproject.org/yocto-docs
+   $ cd yocto-docs
     $ git fetch --tags
-   $ git checkout tags/rocko-18.0.0 -b my_rocko-18.0.0
+   $ git checkout tags/&DISTRO_NAME_NO_CAP;-&DISTRO; -b my_&DISTRO_NAME_NO_CAP;-&DISTRO;
 
  In this example, the name

documentation/overview-manual/development-environment.rst The most common use is to checkout a working branch that matches a · line 461

Quoted 10 lines
documentation/overview-manual/development-environment.rst +3 -3
  of the top-level directory of your local Yocto Project repository is
-``poky``. After moving to the ``poky`` directory, the ``git fetch``
+``yocto-docs``. After moving to the ``yocto-docs`` directory, the ``git fetch``
  command makes all the upstream tags available locally in your
  repository. Finally, the ``git checkout`` command creates and checks out
-a branch named "my-rocko-18.0.0" that is based on the upstream branch
+a branch named "my_&DISTRO_NAME_NO_CAP;-&DISTRO;" that is based on the upstream branch
  whose "HEAD" matches the commit in the repository associated with the
-"rocko-18.0.0" tag. The files in your repository now exactly match that
+"&DISTRO_NAME_NO_CAP;-&DISTRO;" tag. The files in your repository now exactly match that

Technicality but I believe this is incorrect in git. The only thing that matters is you check out a tag. The tag may not necessarily be on a branch (it is for us, but it doesn't *have* to be). Also, HEAD of whinlatter may not be the latest release tag so that is actually incorrect.

I guess we could make this a bit more palatable (and proper) by rewording to:

that is based on the upstream tag in the repository.

Maybe? Separate patch/series though, not a blocker here.

Cheers,
Quentin

#36 lore raw

PATCH v2 23/56 overview-manual/yp-intro.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository. This document had a lot of reference to it, so a lot was removed. The "Reference Distribution (Poky)" section was removed as there already was a "Reference Embedded Distribution (Poky)" below. This section was simplified as now Poky is just a distro, not a repo. The historical section was also updated to mention the obsolete Poky repo.

---
 documentation/overview-manual/concepts.rst         |   2 +-
 .../figures/poky-reference-distribution.png        | Bin 23784 -> 0 bytes
 documentation/overview-manual/yp-intro.rst         | 155 +++------------------
 3 files changed, 21 insertions(+), 136 deletions(-)
documentation/overview-manual/concepts.rst +1 -1
index 757ea05cb8..86bcd5743c 100644
@@ -336,7 +336,7 @@ figure <overview-manual/concepts:openembedded build system concepts>`:
    "BSP Layer" in the following figure) providing machine-specific
    configurations. This type of information is specific to a particular
    target architecture. A good example of a BSP layer from the
-   :ref:`overview-manual/yp-intro:reference distribution (poky)` is the
+   :ref:`overview-manual/yp-intro:reference embedded distribution (Poky)` is the
    :yocto_git:`meta-yocto-bsp </meta-yocto/tree/meta-yocto-bsp>`
    layer.
 
documentation/overview-manual/figures/poky-reference-distribution.png deleted binary +0 -0
deleted file mode 100644
index 1be89ae68e36c6e37a4903d0688d5bd1ad36b87a..0000000000000000000000000000000000000000
GIT binary patch
documentation/overview-manual/yp-intro.rst +20 -135

207 lines not on this page · raw message

Signature · 1 line
2.52.0
Reviewed-by on v2 23/56
#37 lore raw

Re: [docs] [PATCH v2 23/56] overview-manual/yp-intro.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 7 lines · Antonin Godard via lists.yoctoproject.org

Remove references to the Poky repository. This document had a lot of reference to it, so a lot was removed. The "Reference Distribution (Poky)" section was removed as there already was a "Reference Embedded Distribution (Poky)" below. This section was simplified as now Poky is just a distro, not a repo. The historical section was also updated to mention the obsolete Poky repo.

(already given in v1 and no changes between v1 and v2)

Cheers,
Quentin

#38 lore raw

PATCH v2 24/56 ref-manual/classes.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core.

---
 documentation/ref-manual/classes.rst | 34 ++++++++++++++++++----------------
 1 file changed, 18 insertions(+), 16 deletions(-)
documentation/ref-manual/classes.rst +18 -16
index 2e219a59c..ef05372f0 100644
@@ -9,12 +9,13 @@ amongst multiple recipe (``.bb``) files. To use a class file, you simply
 make sure the recipe inherits the class. In most cases, when a recipe
 inherits a class it is enough to enable its features. There are cases,
 however, where in the recipe you might need to set variables or override
-some default behavior.
+some default behavior. A class can also be inherited globally (in every recipe)
+with the :term:`INHERIT` variable.
 
 Any :term:`Metadata` usually found in a recipe can also be
 placed in a class file. Class files are identified by the extension
-``.bbclass`` and are usually placed in one of a set of subdirectories
-beneath the ``meta*/`` directory found in the :term:`Source Directory`:
+``.bbclass`` and are usually placed in one of the following subdirectories
+of a :term:`layer`:
 
   - ``classes-recipe/`` - classes intended to be inherited by recipes
     individually
@@ -28,9 +29,9 @@ in :term:`BBPATH` using the same method by which ``.conf``
 files are searched.
 
 This chapter discusses only the most useful and important classes. Other
-classes do exist within the ``meta/classes*`` directories in the Source
-Directory. You can reference the ``.bbclass`` files directly for more
-information.
+classes do exist within the ``meta/classes*`` directories of
+:term:`OpenEmbedded-Core (OE-Core)`. You can refer to the ``.bbclass`` files
+directly for more information.
 
 .. _ref-classes-allarch:
 
@@ -338,8 +339,8 @@ The :ref:`ref-classes-cargo_c` class can be inherited by a recipe to generate
 a Rust library that can be called by C/C++ code. The recipe which inherits this
 class has to only replace ``inherit cargo`` by ``inherit cargo_c``.
 
-See the :yocto_git:`rust-c-lib-example_git.bb
-</poky/tree/meta-selftest/recipes-devtools/rust/rust-c-lib-example_git.bb>`
+See the :oe_git:`rust-c-lib-example_git.bb
+</openembedded-core/tree/meta-selftest/recipes-devtools/rust/rust-c-lib-example_git.bb>`
 example recipe.
 
 .. _ref-classes-cargo_common:
@@ -602,8 +603,9 @@ inherited globally from a configuration file::
 
    INHERIT += "cve-check"
 
-To filter out obsolete CVE database entries which are known not to impact software from Poky and OE-Core,
-add following line to the build configuration file::
+To filter out obsolete CVE database entries which are known not to impact
+software from :term:`OpenEmbedded-Core (OE-Core)`, add the following line to the
+build configuration file::
 
    include cve-extra-exclusions.inc
 
@@ -827,7 +829,7 @@ See these variables for more information:
 :term:`PV`,
 
 For more information on the :ref:`ref-classes-externalsrc` class, see the comments in
-``meta/classes/externalsrc.bbclass`` in the :term:`Source Directory`.
+``meta/classes/externalsrc.bbclass`` in :term:`OpenEmbedded-Core (OE-Core)`.
 For information on how to use the :ref:`ref-classes-externalsrc` class, see the
 ":ref:`dev-manual/building:building software from an external source`"
 section in the Yocto Project Development Tasks Manual.
@@ -1009,7 +1011,7 @@ this class is controlled by the mandatory :term:`GO_IMPORT` variable, and
 by the optional :term:`GO_INSTALL` and :term:`GO_INSTALL_FILTEROUT` ones.
 
 To build a Go program with the Yocto Project, you can use the
-:yocto_git:`go-helloworld_0.1.bb </poky/tree/meta/recipes-extended/go-examples/go-helloworld_0.1.bb>`
+:oe_git:`go-helloworld_0.1.bb </openembedded-core/tree/meta/recipes-extended/go-examples/go-helloworld_0.1.bb>`
 recipe as an example.
 
 .. _ref-classes-go-mod:
@@ -3471,10 +3473,10 @@ is one reason we don't use static linking for our :ref:`ref-classes-native`
 binaries.
 
 With this class enabled, a tarball containing a pre-built C library is
-downloaded at the start of the build. In the Poky reference distribution this is
+downloaded at the start of the build. In :term:`OpenEmbedded-Core (OE-Core)` this is
 enabled by default through :oe_git:`meta/conf/distro/include/yocto-uninative.inc
 </openembedded-core/tree/meta/conf/distro/include/yocto-uninative.inc>`. Other distributions that do
-not derive from Poky can also "``require conf/distro/include/yocto-uninative.inc``"
+not derive from :term:`Poky` can also "``require conf/distro/include/yocto-uninative.inc``"
 to use this. Alternatively if you prefer, you can build the uninative-tarball
 recipe yourself, publish the resulting tarball (e.g. via HTTP) and set
 :term:`UNINATIVE_URL` and :term:`UNINATIVE_CHECKSUM` appropriately. For an
@@ -3516,7 +3518,7 @@ To use this class, you need to define a number of variables:
 These variables list alternative commands needed by a package, provide
 pathnames for links, default links for targets, and so forth. For
 details on how to use this class, see the comments in the
-:yocto_git:`update-alternatives.bbclass </poky/tree/meta/classes-recipe/update-alternatives.bbclass>`
+:oe_git:`update-alternatives.bbclass </openembedded-core/tree/meta/classes-recipe/update-alternatives.bbclass>`
 file.
 
 .. note::
@@ -3549,7 +3551,7 @@ that contain system services that should be run under their own user or
 group, you can use these classes to enable creation of the user or
 group. The :oe_git:`meta-skeleton/recipes-skeleton/useradd/useradd-example.bb
 </openembedded-core/tree/meta-skeleton/recipes-skeleton/useradd/useradd-example.bb>`
-recipe in the :term:`Source Directory` provides a simple
+recipe in :term:`OpenEmbedded-Core (OE-Core)` provides a simple
 example that shows how to add three users and groups to two packages.
 
 The :ref:`useradd_base <ref-classes-useradd>` class provides basic functionality for user or
Signature · 1 line
2.52.0
#39 lore raw

PATCH v2 25/56 ref-manual/images.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core.

---
 documentation/ref-manual/images.rst | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
documentation/ref-manual/images.rst +2 -3
index c9d898926..94e412de3 100644
@@ -26,9 +26,8 @@ image you want.
 
        INCOMPATIBLE_LICENSE:pn-your-image-name = "GPL-3.0* LGPL-3.0*"
 
-From within the ``poky`` Git repository, you can use the following
-command to display the list of directories within the :term:`Source Directory`
-that contain image recipe files::
+From within the :term:`OpenEmbedded-Core (OE-Core)` Git repository, you can use the following
+command to display the list of directories that contain image recipe files::
 
    $ ls meta*/recipes*/images/*.bb
 
Signature · 1 line
2.52.0
#40 lore raw

PATCH v2 26/56 ref-manual/structure.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core in most cases.

Add a introductory directory layout at the top that is reflected in the following section. This document no longer uses Poky as its source directory, so all paths are explicitly mentioned, to highlight the separation between core components. This lead to some re-organization of some sections.

---
 documentation/bsp-guide/bsp.rst        |   4 +-
 documentation/ref-manual/structure.rst | 169 ++++++++++++++++++++-------------
 documentation/ref-manual/terms.rst     |   2 +-
 3 files changed, 105 insertions(+), 70 deletions(-)
documentation/bsp-guide/bsp.rst +2 -2
index 4c0939ab0..67f61b7b2 100644
@@ -81,7 +81,7 @@ directory of that Layer. This directory is what you add to the
 ``conf/bblayers.conf`` file found in your
 :term:`Build Directory`, which is
 established after you run the OpenEmbedded build environment setup
-script (i.e. :ref:`ref-manual/structure:``oe-init-build-env```).
+script (i.e. :ref:`structure-core-script`).
 Adding the root directory allows the :term:`OpenEmbedded Build System`
 to recognize the BSP
 layer and from it build an image. Here is an example::
@@ -221,7 +221,7 @@ section.
       Checking connectivity... done.
 
 #. *Initialize the Build Environment:* While in the :term:`Source Directory`,
-run the :ref:`ref-manual/structure:``oe-init-build-env``` environment setup
+run the :ref:`structure-core-script` environment setup
 script located in :term:`OpenEmbedded-Core (OE-Core)` to define the OpenEmbedded
 build environment on your build host. ::
 
documentation/ref-manual/structure.rst +102 -67

288 lines not on this page · raw message

documentation/ref-manual/terms.rst +1 -1
index 22f2c4f79..cbe7c88e6 100644
@@ -63,7 +63,7 @@ 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```, or
+      (i.e. :ref:`structure-core-script`, 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`.
Signature · 1 line
2.52.0
#41 lore raw

Re: [docs] [PATCH v2 26/56] ref-manual/structure.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 63 lines · Antonin Godard via lists.yoctoproject.org

Remove references to the Poky repository, replace by OpenEmbedded-Core in most cases.

Add a introductory directory layout at the top that is reflected in the following section. This document no longer uses Poky as its source directory, so all paths are explicitly mentioned, to highlight the separation between core components. This lead to some re-organization of some sections.

---
  documentation/bsp-guide/bsp.rst        |   4 +-
  documentation/ref-manual/structure.rst | 169 ++++++++++++++++++++-------------
  documentation/ref-manual/terms.rst     |   2 +-
  3 files changed, 105 insertions(+), 70 deletions(-)
documentation/bsp-guide/bsp.rst +2 -2
index 4c0939ab0..67f61b7b2 100644
@@ -81,7 +81,7 @@ directory of that Layer. This directory is what you add to the
  ``conf/bblayers.conf`` file found in your
  :term:`Build Directory`, which is
  established after you run the OpenEmbedded build environment setup
-script (i.e. :ref:`ref-manual/structure:``oe-init-build-env```).
+script (i.e. :ref:`structure-core-script`).
  Adding the root directory allows the :term:`OpenEmbedded Build System`
  to recognize the BSP
  layer and from it build an image. Here is an example::
@@ -221,7 +221,7 @@ section.
        Checking connectivity... done.
 
  #. *Initialize the Build Environment:* While in the :term:`Source Directory`,
-run the :ref:`ref-manual/structure:``oe-init-build-env``` environment setup
+run the :ref:`structure-core-script` environment setup
  script located in :term:`OpenEmbedded-Core (OE-Core)` to define the OpenEmbedded
  build environment on your build host. ::
 
documentation/ref-manual/structure.rst +13 -0
index d567cade0..86f3109e1 100644
@@ -16,6 +16,19 @@ and directories.
     names that contain spaces. Be sure that the Source Directory you use
     does not contain these types of names.
 
+For the following sections, we assume the core components of the :term:`Source
+Directory` are organized as follows:
+
+.. code-block:: text
+
+   ├── build/
+   │   └── ...
+   └── layers/
+       ├── bitbake/
+       ├── meta-yocto/
+       ├── openembedded-core/
+       └── yocto-docs/
+
  .. _structure-core:
 
  Top-Level Core Components

documentation/ref-manual/structure.rst about the contents of the :term:`Build Directory`. · line 85

Quoted 8 lines
documentation/ref-manual/structure.rst +2 -2
@@ -67,8 +80,8 @@ about the contents of the :term:`Build Directory`.
 
  .. _handbook:
 
-``documentation/``
-------------------
+``layers/yocto-docs/``
+----------------------
 

suggestion:

+The Yocto documentation repository is hosted at
+:yocto_git:/yocto-docs.

Quoted 12 lines
documentation/ref-manual/structure.rst +6 -0
  This directory holds the source for the Yocto Project documentation as
  well as templates and tools that allow you to generate PDF and HTML
@@ -76,37 +89,28 @@ versions of the manuals. Each manual is contained in its own sub-folder;
  for example, the files for this reference manual reside in the
  ``ref-manual/`` directory.
 
+This directory is not mandatory for building with :term:`BitBake`.
+
+``layers/openembedded-core/``
+-----------------------------
+
+The :term:`OpenEmbedded-Core (OE-Core)` repository is hosted at

documentation/ref-manual/structure.rst versions of the manuals. Each manual is contained in its own sub-folder; · line 105

Quoted 10 lines
documentation/ref-manual/structure.rst +4 -2
+:oe_git:`/openembedded-core`.
+
  .. _structure-core-meta:
 
-``meta/``
----------
+``layers/openembedded-core/meta/``
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
  This directory contains the minimal, underlying OpenEmbedded-Core

suggestion: :term:OpenEmbedded-Core (OE-Core)

Quoted 51 lines
documentation/ref-manual/structure.rst +6 -23
  metadata. The directory holds recipes, common classes, and machine
  configuration for strictly emulated targets (``qemux86``, ``qemuarm``,
  and so forth.)
 
-.. _structure-core-meta-poky:
-
-``meta-poky/``
---------------
-
-Designed above the ``meta/`` content, this directory adds just enough
-metadata to define the Poky reference distribution.
-
-.. _structure-core-meta-yocto-bsp:
-
-``meta-yocto-bsp/``
--------------------
-
-This directory contains the Yocto Project reference hardware Board
-Support Packages (BSPs). For more information on BSPs, see the
-:doc:`/bsp-guide/index`.
-
  .. _structure-meta-selftest:
 
-``meta-selftest/``
-------------------
+``layers/openembedded-core/meta-selftest/``
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
  This directory adds additional recipes and append files used by the
  OpenEmbedded selftests to verify the behavior of the build system. You
@@ -115,15 +119,15 @@ want to run the selftests.
 
  .. _structure-meta-skeleton:
 
-``meta-skeleton/``
-------------------
+``layers/openembedded-core/meta-skeleton/``
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
  This directory contains template recipes for BSP and kernel development.
 
  .. _structure-core-scripts:
 
-``scripts/``
-------------
+``layers/openembedded-core/scripts/``
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
  This directory contains various integration scripts that implement extra
  functionality in the Yocto Project environment (e.g. QEMU scripts). The

documentation/ref-manual/structure.rst back to the Yocto Project, such as ``create-pull-request`` and · line 144

Quoted 7 lines
documentation/ref-manual/structure.rst +2 -2
@@ -136,8 +140,8 @@ back to the Yocto Project, such as ``create-pull-request`` and
 
  .. _structure-core-script:
 
-``oe-init-build-env``
----------------------
+``layers/openembedded-core/oe-init-build-env``
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

For this one and all the others (above and below): watch out, this will switch the cross-reference default string from oe-init-build-env to layers/openembedded-core/oe-init-build-env, is this what we want? Do we need to change the cross-reference string everywhere?

[...]

Cheers,
Quentin

#42 lore raw

Re: [docs] [PATCH v2 26/56] ref-manual/structure.rst: remove obsolete poky repo references

Hi,

On Wed Jan 28, 2026 at 12:48 PM CET, Quentin Schulz via lists.yoctoproject.org wrote:
[...]

Quoted 9 lines
Quoted 4 lines

-``oe-init-build-env``
----------------------
+``layers/openembedded-core/oe-init-build-env``
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

For this one and all the others (above and below): watch out, this will switch the cross-reference default string from oe-init-build-env to layers/openembedded-core/oe-init-build-env, is this what we want? Do we need to change the cross-reference string everywhere?

Good point!

Since this section and the others are subsections of ``layers/openembedded-core/``, I've renamed them to remove the leading "layers/openembedded-core". Same for subsections of ``layers/meta-yocto/``.

Thanks,
Antonin

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

PATCH v2 27/56 ref-manual/tasks.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core.

---
 documentation/ref-manual/tasks.rst | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
documentation/ref-manual/tasks.rst +5 -5
index 8651f219f..e6301e708 100644
@@ -191,7 +191,7 @@ that either directly or indirectly depend on the installed files (e.g.
 
    -  The ``tar`` command with the ``--no-same-owner`` option. See the
       ``bin_package.bbclass`` file in the ``meta/classes-recipe``
-      subdirectory of the :term:`Source Directory` for an example.
+      subdirectory of :term:`OpenEmbedded-Core (OE-Core)` for an example.
 
 .. _ref-tasks-install_ptest_base:
 
@@ -288,14 +288,14 @@ to locate and apply patch files to the source code.
 Patch files, by default, are ``*.patch`` and ``*.diff`` files created
 and kept in a subdirectory of the directory holding the recipe file. For
 example, consider the
-:yocto_git:`bluez5 </poky/tree/meta/recipes-connectivity/bluez5>`
-recipe from the OE-Core layer (i.e. ``poky/meta``)::
+:oe_git:`bluez5 </openembedded-core/tree/meta/recipes-connectivity/bluez5>`
+recipe from the :term:`OpenEmbedded-Core (OE-Core)` layer::
 
-   poky/meta/recipes-connectivity/bluez5
+   meta/recipes-connectivity/bluez5
 
 This recipe has two patch files located here::
 
-   poky/meta/recipes-connectivity/bluez5/bluez5
+   meta/recipes-connectivity/bluez5/bluez5
 
 In the ``bluez5`` recipe, the :term:`SRC_URI` statements point to the source
 and patch files needed to build the package.
Signature · 1 line
2.52.0
#44 lore raw

PATCH v2 28/56 ref-manual/variables.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove references to the Poky repository, replace by OpenEmbedded-Core in most cases.

---
 documentation/ref-manual/variables.rst | 149 ++++++++++++++++-----------------
 1 file changed, 73 insertions(+), 76 deletions(-)
documentation/ref-manual/variables.rst +73 -76
index 4d8a35473..8eece1bb7 100644
@@ -168,7 +168,8 @@ system and gives an overview of their function and contents.
          ARCHIVER_MODE[srpm] = "1"                         # Uses RPM package files.
 
       For information on how the variable works, see the
-      ``meta/classes/archiver.bbclass`` file in the :term:`Source Directory`.
+      ``meta/classes/archiver.bbclass`` file in :term:`OpenEmbedded-Core
+      (OE-Core)`.
 
    :term:`AS`
       Minimal command and arguments needed to run the :manpage:`assembler
@@ -343,7 +344,7 @@ system and gives an overview of their function and contents.
       on Multilib.
 
       The :term:`BASE_LIB` variable is defined in the machine include files in
-      the :term:`Source Directory`. If Multilib is not
+      :term:`OpenEmbedded-Core (OE-Core)`. If Multilib is not
       being used, the value defaults to "lib".
 
    :term:`BASE_WORKDIR`
@@ -889,10 +890,10 @@ system and gives an overview of their function and contents.
       Here is an example::
 
          BBLAYERS = " \
-             /home/scottrif/poky/meta \
-             /home/scottrif/poky/meta-poky \
-             /home/scottrif/poky/meta-yocto-bsp \
-             /home/scottrif/poky/meta-mykernel \
+             /home/scottrif/bitbake-builds/layers/meta \
+             /home/scottrif/bitbake-builds/layers/meta-poky \
+             /home/scottrif/bitbake-builds/layers/meta-yocto-bsp \
+             /home/scottrif/bitbake-builds/layers/meta-mykernel \
              "
 
       This example enables four layers, one of which is a custom,
@@ -1007,8 +1008,8 @@ system and gives an overview of their function and contents.
          and `glob <https://docs.python.org/3/library/glob.html>`__.
 
       For more information on how this variable works, see
-      ``meta/classes-recipe/binconfig.bbclass`` in the :term:`Source Directory`.
-      You can also find general
+      ``meta/classes-recipe/binconfig.bbclass`` in :term:`OpenEmbedded-Core
+      (OE-Core)`. You can also find general
       information on the class in the
       ":ref:`ref-classes-binconfig`" section.
 
@@ -1617,8 +1618,8 @@ system and gives an overview of their function and contents.
       Bluetooth but you do not ever intend to use it.
 
    :term:`COMMERCIAL_AUDIO_PLUGINS`
-      This variable is specific to the :yocto_git:`GStreamer recipes
-      </poky/tree/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb>`.
+      This variable is specific to the :oe_git:`GStreamer recipes
+      </openembedded-core/tree/meta/recipes-multimedia/gstreamer/>`.
       It allows to build the GStreamer `"ugly"
       <https://github.com/GStreamer/gst-plugins-ugly>`__ and
       `"bad" <https://github.com/GStreamer/gst-plugins-bad>`__ audio plugins.
@@ -1627,8 +1628,8 @@ system and gives an overview of their function and contents.
       section for usage details.
 
    :term:`COMMERCIAL_VIDEO_PLUGINS`
-      This variable is specific to the :yocto_git:`GStreamer recipes
-      </poky/tree/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb>`.
+      This variable is specific to the :oe_git:`GStreamer recipes
+      </openembedded-core/tree/meta/recipes-multimedia/gstreamer/>`.
       It allows to build the GStreamer `"ugly"
       <https://github.com/GStreamer/gst-plugins-ugly>`__ and
       `"bad" <https://github.com/GStreamer/gst-plugins-bad>`__ video plugins.
@@ -1637,8 +1638,8 @@ system and gives an overview of their function and contents.
       section for usage details.
 
    :term:`COMMON_LICENSE_DIR`
-      Points to ``meta/files/common-licenses`` in the
-      :term:`Source Directory`, which is where generic license
+      Points to ``meta/files/common-licenses`` in
+      :term:`OpenEmbedded-Core (OE-Core)`, which is where generic license
       files reside.
 
    :term:`COMPATIBLE_HOST`
@@ -1763,8 +1764,8 @@ system and gives an overview of their function and contents.
          good practice to use appropriate path variables.
          For example, ``${sysconfdir}`` rather than ``/etc`` or ``${bindir}``
          rather than ``/usr/bin``. You can find a list of these variables at
-         the top of the ``meta/conf/bitbake.conf`` file in the
-         :term:`Source Directory`.
+         the top of the ``meta/conf/bitbake.conf`` file in
+         :term:`OpenEmbedded-Core (OE-Core)`.
 
    :term:`CONFIG_INITRAMFS_SOURCE`
       Identifies the initial RAM filesystem (:term:`Initramfs`) source files. The
@@ -1934,15 +1935,8 @@ system and gives an overview of their function and contents.
       supported.
 
    :term:`COREBASE`
-      Specifies the parent directory of the OpenEmbedded-Core Metadata
-      layer (i.e. ``meta``).
-
-      It is an important distinction that :term:`COREBASE` points to the parent
-      of this layer and not the layer itself. Consider an example where you
-      have cloned the Poky Git repository and retained the ``poky`` name
-      for your local copy of the repository. In this case, :term:`COREBASE`
-      points to the ``poky`` folder because it is the parent directory of
-      the ``poky/meta`` layer.
+      Specifies the parent directory of the :term:`OpenEmbedded-Core (OE-Core)`
+      metadata layer (i.e. ``meta``).
 
    :term:`COREBASE_FILES`
       Lists files from the :term:`COREBASE` directory that
@@ -2431,8 +2425,8 @@ system and gives an overview of their function and contents.
       file whose root name is the same as the variable's argument and whose
       filename extension is ``.conf``. For example, the distribution
       configuration file for the Poky distribution is named ``poky.conf``
-      and resides in the ``meta-poky/conf/distro`` directory of the
-      :term:`Source Directory`.
+      and resides in the ``meta-poky/conf/distro`` directory of
+      :yocto_git:`meta-poky </meta-yocto/tree/meta-poky>`.
 
       Within that ``poky.conf`` file, the :term:`DISTRO` variable is set as
       follows::
@@ -2448,7 +2442,8 @@ system and gives an overview of their function and contents.
 
          If the :term:`DISTRO` variable is blank, a set of default configurations
          are used, which are specified within
-         ``meta/conf/distro/defaultsetup.conf`` also in the Source Directory.
+         ``meta/conf/distro/defaultsetup.conf`` also in :term:`OpenEmbedded-Core
+         (OE-Core)`.
 
    :term:`DISTRO_CODENAME`
       Specifies a codename for the distribution being built.
@@ -2567,7 +2562,7 @@ system and gives an overview of their function and contents.
       argument and whose filename extension is ``.conf``. For example, the
       distribution configuration file for the Poky distribution is named
       ``poky.conf`` and resides in the ``meta-poky/conf/distro`` directory
-      of the :term:`Source Directory`.
+      of :yocto_git:`meta-poky </meta-yocto/tree/meta-poky>`.
 
       Within that ``poky.conf`` file, the :term:`DISTRO_NAME` variable is set
       as follows::
@@ -2582,7 +2577,8 @@ system and gives an overview of their function and contents.
 
          If the :term:`DISTRO_NAME` variable is blank, a set of default
          configurations are used, which are specified within
-         ``meta/conf/distro/defaultsetup.conf`` also in the Source Directory.
+         ``meta/conf/distro/defaultsetup.conf`` also in :term:`OpenEmbedded-Core
+         (OE-Core)`.
 
    :term:`DISTRO_VERSION`
       The version of the distribution.
@@ -2600,7 +2596,7 @@ system and gives an overview of their function and contents.
       :term:`OVERRIDES`.
 
       Here is an example from :yocto_git:`meta-poky/conf/distro/poky-tiny.conf
-      </poky/tree/meta-poky/conf/distro/poky-tiny.conf>`::
+      </meta-yocto/tree/meta-poky/conf/distro/poky-tiny.conf>`::
 
          DISTROOVERRIDES = "poky:poky-tiny"
 
@@ -3162,7 +3158,7 @@ system and gives an overview of their function and contents.
             use ``${sysconfdir}`` rather than ``/etc``, or ``${bindir}``
             rather than ``/usr/bin``. You can find a list of these
             variables at the top of the ``meta/conf/bitbake.conf`` file in
-            the :term:`Source Directory`. You will also
+            :term:`OpenEmbedded-Core (OE-Core)`. You will also
             find the default values of the various ``FILES:*`` variables in
             this file.
 
@@ -3279,8 +3275,8 @@ system and gives an overview of their function and contents.
       :term:`SRC_URI` statements.
 
       The default value for the :term:`FILESPATH` variable is defined in the
-      :ref:`ref-classes-base` class found in ``meta/classes-global`` in the
-      :term:`Source Directory`::
+      :ref:`ref-classes-base` class found in ``meta/classes-global`` in
+      :term:`OpenEmbedded-Core (OE-Core)`::
 
          FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", \
              "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}"
@@ -3335,7 +3331,7 @@ system and gives an overview of their function and contents.
 
       By default, the OpenEmbedded build system uses the ``fs-perms.txt``,
       ``fs-perms-volatile-log.txt`` and ``fs-perms-volatile-tmp.txt`` which are
-      located in the ``meta/files`` folder in the :term:`Source Directory`. If
+      located in the ``meta/files`` folder in :term:`OpenEmbedded-Core (OE-Core)`. If
       you create your own permission setting table files, you should place
       those in your layer.
 
@@ -3638,7 +3634,7 @@ system and gives an overview of their function and contents.
       Other Go programs importing this package will use this path.
 
       Here is an example setting from the
-      :yocto_git:`go-helloworld_0.1.bb </poky/tree/meta/recipes-extended/go-examples/go-helloworld_0.1.bb>`
+      :oe_git:`go-helloworld_0.1.bb </openembedded-core/tree/meta/recipes-extended/go-examples/go-helloworld_0.1.bb>`
       recipe::
 
           GO_IMPORT = "golang.org/x/example"
@@ -4500,7 +4496,8 @@ system and gives an overview of their function and contents.
       - wic.zst
 
       For more information about these types of images, see
-      ``meta/classes-recipe/image_types*.bbclass`` in the :term:`Source Directory`.
+      ``meta/classes-recipe/image_types*.bbclass`` in :term:`OpenEmbedded-Core
+      (OE-Core)`.
 
    :term:`IMAGE_VERSION_SUFFIX`
       Version suffix that is part of the default :term:`IMAGE_NAME` and
@@ -4718,7 +4715,7 @@ system and gives an overview of their function and contents.
 
       With ``sysvinit``, the init manager is set to
       :wikipedia:`SysVinit <Init#SysV-style>`, the traditional UNIX init
-      system. This is the default choice in the Poky distribution, together with
+      system. This is the default choice in the :term:`Poky` distribution, together with
       the Udev device manager (see the ":ref:`device-manager`" section).
 
       With ``systemd``, the init manager becomes :wikipedia:`systemd <Systemd>`,
@@ -4732,7 +4729,7 @@ system and gives an overview of their function and contents.
       More concretely, this is used to include
       ``conf/distro/include/init-manager-${INIT_MANAGER}.inc`` into the global
       configuration. You can have a look at the
-      :yocto_git:`meta/conf/distro/include/init-manager-*.inc </poky/tree/meta/conf/distro/include>`
+      :oe_git:`meta/conf/distro/include/init-manager-*.inc </openembedded-core/tree/meta/conf/distro/include>`
       files for more information, and also the ":ref:`init-manager`"
       section in the Yocto Project Development Tasks Manual.
 
@@ -4751,8 +4748,8 @@ system and gives an overview of their function and contents.
       :term:`IMAGE_FSTYPES` variable.
 
       The default value of this variable, which is set in the
-      ``meta/conf/bitbake.conf`` configuration file in the
-      :term:`Source Directory`, is "cpio.gz". The Linux kernel's
+      ``meta/conf/bitbake.conf`` configuration file in
+      :term:`OpenEmbedded-Core (OE-Core)`, is "cpio.gz". The Linux kernel's
       :term:`Initramfs` mechanism, as opposed to the initial RAM filesystem
       :wikipedia:`initrd <Initrd>` mechanism, expects
       an optionally compressed cpio archive.
@@ -4774,14 +4771,14 @@ system and gives an overview of their function and contents.
       .. note::
 
          See the ``meta/recipes-core/images/core-image-minimal-initramfs.bb``
-         recipe in the :term:`Source Directory`
+         recipe in :term:`OpenEmbedded-Core (OE-Core)`
          for an example :term:`Initramfs` recipe. To select this sample recipe as
          the one built to provide the :term:`Initramfs` image, set :term:`INITRAMFS_IMAGE`
          to "core-image-minimal-initramfs".
 
       You can also find more information by referencing the
-      ``meta-poky/conf/templates/default/local.conf.sample.extended``
-      configuration file in the Source Directory, the :ref:`ref-classes-image`
+      ``conf/templates/default/local.conf.sample.extended``
+      configuration file in :yocto_git:`meta-poky <meta-yocto/tree/meta-poky>`, the :ref:`ref-classes-image`
       class, and the :ref:`ref-classes-kernel` class to see how to use the
       :term:`INITRAMFS_IMAGE` variable.
 
@@ -4841,7 +4838,7 @@ system and gives an overview of their function and contents.
          configuration file. You cannot set the variable in a recipe file.
 
       See the
-      :yocto_git:`local.conf.sample.extended </poky/tree/meta-poky/conf/templates/default/local.conf.sample.extended>`
+      :yocto_git:`local.conf.sample.extended </meta-yocto/tree/meta-poky/conf/templates/default/local.conf.sample.extended>`
       file for additional information. Also, for information on creating an
       :term:`Initramfs`, see the ":ref:`dev-manual/building:building an initial ram filesystem (Initramfs) image`" section
       in the Yocto Project Development Tasks Manual.
@@ -5855,7 +5852,7 @@ system and gives an overview of their function and contents.
       name, through which machine-specific configurations are set. Thus,
       when :term:`MACHINE` is set to "qemux86", the corresponding
       ``qemux86.conf`` machine configuration file can be found in
-      the :term:`Source Directory` in
+      :term:`OpenEmbedded-Core (OE-Core)` in
       ``meta/conf/machine``.
 
       The list of machines supported by the Yocto Project as shipped
@@ -6369,8 +6366,8 @@ system and gives an overview of their function and contents.
       ``sysroots/`` directory so that all builds that use the script will
       use the correct directories for the cross compiling layout.
 
-      See the ``meta/classes-recipe/binconfig.bbclass`` in the
-      :term:`Source Directory` for details on how this class
+      See the ``meta/classes-recipe/binconfig.bbclass`` in
+      :term:`OpenEmbedded-Core (OE-Core)` for details on how this class
       applies these additional sed command arguments.
 
    :term:`OE_FRAGMENTS`
@@ -6449,7 +6446,7 @@ system and gives an overview of their function and contents.
 
    :term:`OEQA_REPRODUCIBLE_TEST_PACKAGE`
       Set the package manager(s) for build reproducibility testing.
-      See :yocto_git:`reproducible.py </poky/tree/meta/lib/oeqa/selftest/cases/reproducible.py>`
+      See :oe_git:`reproducible.py </openembedded-core/tree/meta/lib/oeqa/selftest/cases/reproducible.py>`
       and :doc:`/test-manual/reproducible-builds`.
 
    :term:`OEQA_REPRODUCIBLE_TEST_SSTATE_TARGETS`
@@ -6719,7 +6716,7 @@ system and gives an overview of their function and contents.
          ``*-dbg`` package as with the ``.debug`` value, while source is
          placed in a separate ``*-src`` package, which can be installed
          independently.  This is the default setting for this variable,
-         as defined in Poky's ``bitbake.conf`` file.
+         as defined in :term:`OE-Core <OpenEmbedded-Core (OE-Core)>`'s ``bitbake.conf`` file.
 
       -  "``debug-without-src``": The same behavior as with the ``.debug``
          setting, but no source is packaged at all.
@@ -7677,8 +7674,8 @@ system and gives an overview of their function and contents.
       The network based :term:`PR` service host and port.
 
       The ``conf/templates/default/local.conf.sample.extended`` configuration
-      file in the :term:`Source Directory` shows how the :term:`PRSERV_HOST`
-      variable is set::
+      file in :yocto_git:`meta-poky </meta-yocto/tree/meta-poky>` shows how the
+      :term:`PRSERV_HOST` variable is set::
 
          PRSERV_HOST = "localhost:0"
 
@@ -8324,11 +8321,11 @@ system and gives an overview of their function and contents.
       to find the unpacked source.
 
       As an example, assume a :term:`Source Directory`
-      top-level folder named ``poky`` and a default :term:`Build Directory` at
-      ``poky/build``. In this case, the work directory the build system
+      top-level folder named ``bitbake-builds`` and a default :term:`Build Directory` at
+      ``bitbake-builds/build``. In this case, the work directory the build system
       uses to keep the unpacked recipe for ``db`` is the following::
 
-         poky/build/tmp/work/qemux86-poky-linux/db/5.1.19-r3/sources/db-5.1.19
+         bitbake-builds/build/tmp/work/qemux86-poky-linux/db/5.1.19-r3/sources/db-5.1.19
 
       The unpacked source code resides in the ``db-5.1.19`` folder.
 
@@ -8580,7 +8577,7 @@ system and gives an overview of their function and contents.
 
          SDK_TITLE ??= "${@d.getVar('DISTRO_NAME') or d.getVar('DISTRO')} SDK"
 
-      For the default distribution "poky",
+      For the :term:`poky` reference distribution,
       :term:`SDK_TITLE` is set to "Poky (Yocto Project Reference Distro)".
 
       For information on how to change this default title, see the
@@ -8626,7 +8623,7 @@ system and gives an overview of their function and contents.
          SDKEXTPATH ??= "~/${@d.getVar('DISTRO')}_sdk"
 
       For the
-      default distribution "poky", the :term:`SDKEXTPATH` is set to "poky_sdk".
+      :term:`Poky` reference distro, the :term:`SDKEXTPATH` is set to "poky_sdk".
 
       For information on how to change this default directory, see the
       ":ref:`sdk-manual/appendix-customizing:changing the default sdk installation directory`"
@@ -9300,8 +9297,8 @@ system and gives an overview of their function and contents.
       .. note::
 
          The :term:`SRCPV` variable used to be defined in the
-         ``meta/conf/bitbake.conf`` configuration file in the :term:`Source
-         Directory` as follows::
+         ``meta/conf/bitbake.conf`` configuration file in
+         :term:`OpenEmbedded-Core (OE-Core)` as follows::
 
             SRCPV = "${@bb.fetch2.get_srcrev(d)}"
 
@@ -10006,8 +10003,8 @@ system and gives an overview of their function and contents.
       compatible with the kernel compilation. The :term:`TARGET_CC_KERNEL_ARCH`
       variable allows the kernel (and associated modules) to use a
       different configuration. See the
-      ``meta/conf/machine/include/arm/feature-arm-thumb.inc`` file in the
-      :term:`Source Directory` for an example.
+      ``meta/conf/machine/include/arm/feature-arm-thumb.inc`` file in
+      :term:`OpenEmbedded-Core (OE-Core)` for an example.
 
    :term:`TARGET_CFLAGS`
       Specifies the flags to pass to the C compiler when building for the
@@ -10408,10 +10405,10 @@ system and gives an overview of their function and contents.
       ``tmp`` within the :term:`Build Directory`.
 
       If you want to establish this directory in a location other than the
-      default, you can uncomment and edit the following statement in the
-      ``conf/local.conf`` file in the :term:`Source Directory`::
+      default, you can set it to another value in your
+      :ref:`structure-build-conf-site.conf` configuration file::
 
-         #TMPDIR = "${TOPDIR}/tmp"
+         TMPDIR = "/another/location"
 
       An example use for this scenario is to set :term:`TMPDIR` to a local disk,
       which does not use NFS, while having the :term:`Build Directory` use NFS.
@@ -10542,8 +10539,8 @@ system and gives an overview of their function and contents.
       definitions can be a single static definition, or can be dynamically
       adjusted. You can see details for a given CPU family by looking at
       the architecture's ``README`` file. For example, the
-      ``meta/conf/machine/include/mips/README`` file in the
-      :term:`Source Directory` provides information for
+      ``meta/conf/machine/include/mips/README`` file in
+      :term:`OpenEmbedded-Core (OE-Core)` provides information for
       :term:`TUNE_ARCH` specific to the ``mips`` architecture.
 
       :term:`TUNE_ARCH` is tied closely to
@@ -10645,7 +10642,7 @@ system and gives an overview of their function and contents.
       that conflict with feature.
 
       Known tuning conflicts are specified in the machine include files in
-      the :term:`Source Directory`. Here is an example from
+      :term:`OpenEmbedded-Core (OE-Core)`. Here is an example from
       the ``meta/conf/machine/include/mips/arch-mips.inc`` include file
       that lists the "o32" and "n64" features as conflicting with the "n32"
       feature::
@@ -10661,7 +10658,7 @@ system and gives an overview of their function and contents.
 
          TUNEVALID[bigendian] = "Enable big-endian mode."
 
-      See the machine include files in the :term:`Source Directory`
+      See the machine include files in :term:`OpenEmbedded-Core (OE-Core)`
       for these features.
 
    :term:`UBOOT_BINARY`
@@ -11350,8 +11347,8 @@ system and gives an overview of their function and contents.
          USER_CLASSES ?= "buildstats"
 
       For more information, see
-      ``meta-poky/conf/templates/default/local.conf.sample`` in the
-      :term:`Source Directory`.
+      ``conf/templates/default/local.conf.sample`` in
+      :yocto_git:`meta-poky <meta-yocto/tree/meta-poky>`.
 
    :term:`USERADD_DEPENDS`
       Specifies a list of recipes that create users / groups (via
@@ -11500,13 +11497,13 @@ system and gives an overview of their function and contents.
          VIRTUAL-RUNTIME_base-utils = "packagegroup-core-base-utils"
 
       Here are two examples using this virtual runtime package. The
-      first one is in :yocto_git:`initramfs-framework_1.0.bb
-      </poky/tree/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb?h=scarthgap>`::
+      first one is in :oe_git:`initramfs-framework_1.0.bb
+      </openembedded-core/tree/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb>`::
 
          RDEPENDS:${PN} += "${VIRTUAL-RUNTIME_base-utils}"
 
-      The second example is in the :yocto_git:`core-image-initramfs-boot
-      </poky/tree/meta/recipes-core/images/core-image-initramfs-boot.bb?h=scarthgap>`
+      The second example is in the :oe_git:`core-image-initramfs-boot
+      </openembedded-core/tree/meta/recipes-core/images/core-image-initramfs-boot.bb>`
       image definition::
 
          PACKAGE_INSTALL = "${INITRAMFS_SCRIPTS} ${VIRTUAL-RUNTIME_base-utils} base-passwd"
@@ -11632,13 +11629,13 @@ system and gives an overview of their function and contents.
       -  :term:`PR`: The recipe revision
 
       As an example, assume a Source Directory top-level folder name
-      ``poky``, a default :term:`Build Directory` at ``poky/build``, and a
+      ``bitbake-builds``, a default :term:`Build Directory` at ``bitbake-builds/build``, and a
       ``qemux86-poky-linux`` machine target system. Furthermore, suppose
       your recipe is named ``foo_1.3.0-r0.bb``. In this case, the work
       directory the build system uses to build the package would be as
       follows::
 
-         poky/build/tmp/work/qemux86-poky-linux/foo/1.3.0-r0
+         bitbake-builds/build/tmp/work/qemux86-poky-linux/foo/1.3.0-r0
 
    :term:`XSERVER`
       Specifies the packages that should be installed to provide an X
Signature · 1 line
2.52.0
Reviewed-by on v2 28/56
#45 lore raw

Re: [docs] [PATCH v2 28/56] ref-manual/variables.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 3 lines · Antonin Godard via lists.yoctoproject.org

Remove references to the Poky repository, replace by OpenEmbedded-Core in most cases.

Thanks!
Quentin

#46 lore raw

PATCH v2 29/56 sdk-manual/appendix-obtain.rst: remove obsolete poky repo references

In reply to Antonin Godard

Rename the source directory to project, as specified in its new definition in terms.rst.

---
 documentation/sdk-manual/appendix-obtain.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/sdk-manual/appendix-obtain.rst +1 -1
index fb2326fac..a6f2da052 100644
@@ -166,7 +166,7 @@ build the SDK installer. Follow these steps:
 
    .. code-block:: console
 
-      $ cd poky/build/tmp/deploy/sdk
+      $ cd bitbake-builds/build/tmp/deploy/sdk
       $ ./poky-glibc-x86_64-core-image-sato-core2-64-toolchain-ext-&DISTRO;.sh
 
    During execution of the script, you choose the root location for the
Signature · 1 line
2.52.0
Reviewed-by on v2 29/56
#47 lore raw

Re: [docs] [PATCH v2 29/56] sdk-manual/appendix-obtain.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 3 lines · Antonin Godard via lists.yoctoproject.org

Rename the source directory to project, as specified in its new definition in terms.rst.

Thanks!
Quentin

#48 lore raw

PATCH v2 30/56 sdk-manual/intro.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove the mention of the Poky git repository. Refer to the existing setup instructions.

---
 documentation/sdk-manual/intro.rst | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
documentation/sdk-manual/intro.rst +2 -6
index c96e58dd7..dd2902cc4 100644
@@ -133,12 +133,8 @@ your application or image. QEMU is not part of the SDK but is
 automatically installed and available if you have done any one of
 the following:
 
--  cloned the ``poky`` Git repository to create a
-   :term:`Source Directory` and sourced the environment setup script.
-
--  downloaded a Yocto Project release and unpacked it to
-   create a Source Directory and sourced the environment setup
-   script.
+-  Setup your :term:`Build Host` as described in the :doc:`/dev-manual/start`
+   section of the Yocto Project Development Tasks Manual.
 
 -  installed the cross-toolchain tarball and
    sourced the toolchain's setup environment script.
Signature · 1 line
2.52.0
#49 lore raw

PATCH v2 31/56 test-manual/runtime-testing.rst: remove obsolete poky repo references

In reply to Antonin Godard

Remove reference to the Poky repository, replace by OpenEmbedded-Core.

---
 documentation/test-manual/runtime-testing.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
documentation/test-manual/runtime-testing.rst +2 -2
index 909448ab2..a64a97c80 100644
@@ -338,8 +338,8 @@ You can start the tests automatically or manually:
 
       bitbake -c testimage image
 
-All test files reside in ``meta/lib/oeqa/runtime/cases`` in the
-:term:`Source Directory`. A test name maps
+All test files reside in ``meta/lib/oeqa/runtime/cases`` in
+:term:`OpenEmbedded-Core (OE-Core)`. A test name maps
 directly to a Python module. Each test module may contain a number of
 individual tests. Tests are usually grouped together by the area tested
 (e.g tests for systemd reside in ``meta/lib/oeqa/runtime/cases/systemd.py``).
Signature · 1 line
2.52.0
#50 lore raw

PATCH v2 32/56 README: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete.

---
 documentation/README | 39 ++++++++++-----------------------------
 1 file changed, 10 insertions(+), 29 deletions(-)
documentation/README +10 -29
index 56eac7ca1..5516d71a6 100644
@@ -1,33 +1,14 @@
 documentation
 =============
 
-This is the directory that contains the Yocto Project documentation.  The Yocto
-Project source repositories at https://git.yoctoproject.org/cgit.cgi have two
-instances of the "documentation" directory.  You should understand each of
-these instances.
-
-  poky/documentation - The directory within the poky Git repository containing
-                       the set of Yocto Project manuals.  When you clone the
-                       poky Git repository, the documentation directory
-                       contains the manuals.  The state of the manuals in this
-                       directory is guaranteed to reflect the latest Yocto
-                       Project release.  The manuals at the tip of this
-                       directory will also likely contain most manual
-                       development changes.
-
-  yocto-docs/documentation - The Git repository for the Yocto Project manuals.
-                             This repository is where manual development
-                             occurs.  If you plan on contributing back to the
-                             Yocto Project documentation, you should set up
-                             a local Git repository based on this upstream
-                             repository as follows:
-
-                               git clone git://git.yoctoproject.org/yocto-docs
-
-                             Changes and patches are first pushed to the
-                             yocto-docs Git repository.  Later, they make it
-                             into the poky Git repository found at
-                             git://git.yoctoproject.org/poky.
+This is the directory that contains the Yocto Project documentation. The Yocto
+Project documentation is hosted at https://git.yoctoproject.org/yocto-docs:
+
+This repository is where manual development occurs. If you plan on contributing
+back to the Yocto Project documentation, you should set up a local Git
+repository based on this upstream repository as follows:
+
+  git clone git://git.yoctoproject.org/yocto-docs
 
 Manual Organization
 ===================
@@ -261,9 +242,9 @@ For example, the following .rst content will produce the 'expected'
 content:
 
   .. code-block::
-      $ mkdir poky-&DISTRO;
+      $ mkdir bitbake-builds-&DISTRO;
       or
-      $ git clone &YOCTO_GIT_URL;/git/poky -b &DISTRO_NAME_NO_CAP;
+      $ git clone &YOCTO_GIT_URL;/git/yocto-docs -b &DISTRO_NAME_NO_CAP;
 
 Variables can be nested, like it was the case for DocBook:
 
Signature · 1 line
2.52.0
Reviewed-by on v2 32/56
#51 lore raw

Re: [docs] [PATCH v2 32/56] README: remove obsolete poky repo references

Hi Antonin,

Quoted 2 lines · Antonin Godard via lists.yoctoproject.org

Refresh the document now that the Poky repository is obsolete.

Thanks!
Quentin

#52 lore raw

PATCH v2 33/56 README: replace obsolete substitution variables

In reply to Antonin Godard

Replace obsolete substitution variables by current ones from poky.yaml.in.

---
 documentation/README | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
documentation/README +3 -3
index 5516d71a6..7c4472c73 100644
@@ -244,12 +244,12 @@ content:
   .. code-block::
       $ mkdir bitbake-builds-&DISTRO;
       or
-      $ git clone &YOCTO_GIT_URL;/git/yocto-docs -b &DISTRO_NAME_NO_CAP;
+      $ git clone https://git.yoctoproject.org/yocto-docs -b &DISTRO_NAME_NO_CAP;
 
 Variables can be nested, like it was the case for DocBook:
 
-  YOCTO_HOME_URL : "https://www.yoctoproject.org"
-  YOCTO_DOCS_URL : "&YOCTO_HOME_URL;/docs"
+  DISTRO : "5.2"
+  DISTRO_REL_TAG : "yocto-$DISTRO;"
 
 Note directive
 ==============
Signature · 1 line
2.52.0
#53 lore raw

PATCH v2 34/56 contributor-guide/identify-component.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete.

---
 documentation/contributor-guide/identify-component.rst | 9 ---------
 1 file changed, 9 deletions(-)
documentation/contributor-guide/identify-component.rst +0 -9
index a28391a66a..6cf8ed9858 100644
@@ -20,12 +20,3 @@ If the issue is in the core metadata layer (OpenEmbedded-Core) or in BitBake,
 issues can be reported in the :yocto_bugs:`Yocto Project Bugzilla <>`. The
 :yocto_lists:`yocto </g/yocto>` mailing list is a general “catch-all” location
 where questions can be sent if you can’t work out where something should go.
-
-:term:`Poky` is a commonly used “combination” repository where multiple
-components have been combined (:oe_git:`bitbake </bitbake>`,
-:oe_git:`openembedded-core </openembedded-core>`,
-:yocto_git:`meta-yocto </meta-yocto>` and
-:yocto_git:`yocto-docs </yocto-docs>`). Patches should be submitted against the
-appropriate individual component rather than :term:`Poky` itself as detailed in
-the appropriate ``README`` file.
-
Signature · 1 line
2.52.0
#54 lore raw

PATCH v2 35/56 dev-manual/build-quality.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete.

---
 documentation/dev-manual/build-quality.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/dev-manual/build-quality.rst +1 -1
index fbe5fb6f0..163d8832e 100644
@@ -372,7 +372,7 @@ There is a command-line tool called ``buildhistory-diff``, though,
 that queries the Git repository and prints just the differences that
 might be significant in human-readable form. Here is an example::
 
-   $ poky/poky/scripts/buildhistory-diff . HEAD^
+   $ bitbake-builds/layers/openembedded-core/scripts/buildhistory-diff . HEAD^
    Changes to images/qemux86_64/glibc/core-image-minimal (files-in-image.txt):
       /etc/anotherpkg.conf was added
       /sbin/anotherpkg was added
Signature · 1 line
2.52.0
Reviewed-by on v2 35/56
#55 lore raw

Re: [docs] [PATCH v2 35/56] dev-manual/build-quality.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 2 lines · Antonin Godard via lists.yoctoproject.org

Refresh the document now that the Poky repository is obsolete.

Thanks!
Quentin

#56 lore raw

PATCH v2 36/56 dev-manual/custom-distribution.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete.

---
 documentation/dev-manual/custom-distribution.rst | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
documentation/dev-manual/custom-distribution.rst +4 -2
index 55854f00e..4dafd2725 100644
@@ -3,8 +3,10 @@
 Creating Your Own Distribution
 ******************************
 
-When you build an image using the Yocto Project and do not alter any
-distribution :term:`Metadata`, you are using the Poky distribution.
+When you build an image using the Yocto Project and follow the default setup
+showcased in :doc:`/dev-manual/start`, you are using the :term:`Poky` reference
+distribution.
+
 Poky is explicitly a *reference* distribution for testing and
 development purposes. It enables most hardware and software features
 so that they can be tested, but this also means that from a security
Signature · 1 line
2.52.0
#57 lore raw

PATCH v2 37/56 dev-manual/custom-template-configuration-directory.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete. Adapt paths to match to encouraged Source Directory layout.

---
 .../dev-manual/custom-template-configuration-directory.rst        | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
documentation/dev-manual/custom-template-configuration-directory.rst +4 -4
index 06fcada822..8bf763569d 100644
@@ -15,10 +15,10 @@ This can be done by using ``bitbake-layers save-build-conf``::
 
    $ bitbake-layers save-build-conf ../../meta-alex/ test-1
    NOTE: Starting bitbake server...
-   NOTE: Configuration template placed into /srv/work/alex/meta-alex/conf/templates/test-1
-   Please review the files in there, and particularly provide a configuration description in /srv/work/alex/meta-alex/conf/templates/test-1/conf-notes.txt
+   NOTE: Configuration template placed into /srv/bitbake-builds/layers/meta-alex/conf/templates/test-1
+   Please review the files in there, and particularly provide a configuration description in /srv/bitbake-builds/meta-alex/conf/templates/test-1/conf-notes.txt
    You can try out the configuration with
-   TEMPLATECONF=/srv/work/alex/meta-alex/conf/templates/test-1 . /srv/work/alex/poky/oe-init-build-env build-try-test-1
+   TEMPLATECONF=/srv/bitbake-builds/layers/meta-alex/conf/templates/test-1 . /srv/bitbake-builds/layers/openembedded-core/oe-init-build-env build-try-test-1
 
 The above command takes the config files from the currently active :term:`Build Directory` under ``conf``,
 replaces site-specific paths in ``bblayers.conf`` with ``##OECORE##``-relative paths, and copies
@@ -27,7 +27,7 @@ the config files into a specified layer under a specified template name.
 To use those saved templates as a starting point for a build, users should point
 to one of them with :term:`TEMPLATECONF` environment variable::
 
-   TEMPLATECONF=/srv/work/alex/meta-alex/conf/templates/test-1 . /srv/work/alex/poky/oe-init-build-env build-try-test-1
+   TEMPLATECONF=/srv/bitbake-builds/layers/meta-alex/conf/templates/test-1 . /srv/bitbake-builds/layers/openembedded-core/oe-init-build-env build-try-test-1
 
 The OpenEmbedded build system uses the environment variable
 :term:`TEMPLATECONF` to locate the directory from which it gathers
Signature · 1 line
2.52.0
Reviewed-by on v2 37/56
#58 lore raw

Re: [docs] [PATCH v2 37/56] dev-manual/custom-template-configuration-directory.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 3 lines · Antonin Godard via lists.yoctoproject.org

Refresh the document now that the Poky repository is obsolete. Adapt paths to match to encouraged Source Directory layout.

Thanks!
Quentin

#59 lore raw

PATCH v2 38/56 dev-manual/init-manager.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete.

---
 documentation/dev-manual/init-manager.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
documentation/dev-manual/init-manager.rst +3 -3
index d0fdfdf77..670810310 100644
@@ -54,7 +54,7 @@ Using SysVinit with udev
 =========================
 
 SysVinit with the udev device manager corresponds to the
-default setting in Poky. This corresponds to setting::
+default setting in :term:`Poky`. This corresponds to setting::
 
    INIT_MANAGER = "sysvinit"
 
@@ -77,8 +77,8 @@ for more complex systems::
    INIT_MANAGER = "systemd"
 
 This will enable systemd and remove sysvinit components from the image.
-See :yocto_git:`meta/conf/distro/include/init-manager-systemd.inc
-</poky/tree/meta/conf/distro/include/init-manager-systemd.inc>` for exact
+See :oe_git:`meta/conf/distro/include/init-manager-systemd.inc
+</openembedded-core/tree/meta/conf/distro/include/init-manager-systemd.inc>` for exact
 details on what this does.
 
 Controling systemd from the target command line
Signature · 1 line
2.52.0
#60 lore raw

PATCH v2 39/56 dev-manual/licenses.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete.

---
 documentation/dev-manual/licenses.rst | 30 ++++++++++++------------------
 1 file changed, 12 insertions(+), 18 deletions(-)
documentation/dev-manual/licenses.rst +12 -18
index 7d6636eef..1887e8e35 100644
@@ -112,8 +112,8 @@ commercial or other special licensing requirements. Such requirements
 are defined on a recipe-by-recipe basis through the
 :term:`LICENSE_FLAGS` variable
 definition in the affected recipe. For instance, the
-``poky/meta/recipes-multimedia/gstreamer/gst-plugins-ugly`` recipe
-contains the following statement::
+``meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly`` recipe of
+:term:`OpenEmbedded-Core (OE-Core)` contains the following statement::
 
    LICENSE_FLAGS = "commercial"
 
@@ -136,7 +136,8 @@ needs to have a matching entry in the global
 :term:`LICENSE_FLAGS_ACCEPTED`
 variable, which is a variable typically defined in your ``local.conf``
 file. For example, to enable the
-``poky/meta/recipes-multimedia/gstreamer/gst-plugins-ugly`` package, you
+``meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly`` package of
+:term:`OpenEmbedded-Core (OE-Core)`, you
 could add either the string "commercial_gst-plugins-ugly" or the more
 general string "commercial" to :term:`LICENSE_FLAGS_ACCEPTED`. See the
 ":ref:`dev-manual/licenses:license flag matching`" section for a full
@@ -244,7 +245,7 @@ Other Variables Related to Commercial Licenses
 
 There are other helpful variables related to commercial license handling,
 defined in the
-``poky/meta/conf/distro/include/default-distrovars.inc`` file::
+``meta/conf/distro/include/default-distrovars.inc`` file in :term:`OpenEmbedded-Core (OE-Core)`::
 
    COMMERCIAL_AUDIO_PLUGINS ?= ""
    COMMERCIAL_VIDEO_PLUGINS ?= ""
@@ -460,22 +461,15 @@ and the source code modifications in one step.
 
 If the deployment team has a :ref:`overview-manual/concepts:bsp layer`
 and a distro layer, and those
-those layers are used to patch, compile, package, or modify (in any way)
+layers are used to patch, compile, package, or modify (in any way)
 any open source software included in your released images, you might be
 required to release those layers under section 3 of GPLv2 or section 1
 of GPLv3. One way of doing that is with a clean checkout of the version
-of the Yocto Project and layers used during your build. Here is an
-example:
+of the Yocto Project and layers used during your build. Removing the Git
+objects can be done like so:
 
-.. code-block:: shell
+.. code-block:: console
 
-   # We built using the dunfell branch of the poky repo
-   $ git clone -b dunfell git://git.yoctoproject.org/poky
-   $ cd poky
-   # We built using the release_branch for our layers
-   $ git clone -b release_branch git://git.mycompany.com/meta-my-bsp-layer
-   $ git clone -b release_branch git://git.mycompany.com/meta-my-software-layer
-   # clean up the .git repos
    $ find . -name ".git" -type d -exec rm -rf {} \;
 
 One thing a development organization might want to consider for end-user
@@ -494,9 +488,9 @@ automatically::
 
    BBLAYERS ?= " \
      ##OEROOT##/meta \
-     ##OEROOT##/meta-poky \
-     ##OEROOT##/meta-yocto-bsp \
-     ##OEROOT##/meta-mylayer \
+     ##OEROOT##/../meta-poky \
+     ##OEROOT##/../meta-yocto-bsp \
+     ##OEROOT##/../meta-mylayer \
      "
 
 Creating and
Signature · 1 line
2.52.0
Reviewed-by on v2 39/56
#61 lore raw

Re: [docs] [PATCH v2 39/56] dev-manual/licenses.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 69 lines · Antonin Godard via lists.yoctoproject.org

Refresh the document now that the Poky repository is obsolete.

---
  documentation/dev-manual/licenses.rst | 30 ++++++++++++------------------
  1 file changed, 12 insertions(+), 18 deletions(-)
documentation/dev-manual/licenses.rst +9 -15
index 7d6636eef..1887e8e35 100644
@@ -112,8 +112,8 @@ commercial or other special licensing requirements. Such requirements
  are defined on a recipe-by-recipe basis through the
  :term:`LICENSE_FLAGS` variable
  definition in the affected recipe. For instance, the
-``poky/meta/recipes-multimedia/gstreamer/gst-plugins-ugly`` recipe
-contains the following statement::
+``meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly`` recipe of
+:term:`OpenEmbedded-Core (OE-Core)` contains the following statement::
 
     LICENSE_FLAGS = "commercial"
 
@@ -136,7 +136,8 @@ needs to have a matching entry in the global
  :term:`LICENSE_FLAGS_ACCEPTED`
  variable, which is a variable typically defined in your ``local.conf``
  file. For example, to enable the
-``poky/meta/recipes-multimedia/gstreamer/gst-plugins-ugly`` package, you
+``meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly`` package of
+:term:`OpenEmbedded-Core (OE-Core)`, you
  could add either the string "commercial_gst-plugins-ugly" or the more
  general string "commercial" to :term:`LICENSE_FLAGS_ACCEPTED`. See the
  ":ref:`dev-manual/licenses:license flag matching`" section for a full
@@ -244,7 +245,7 @@ Other Variables Related to Commercial Licenses
 
  There are other helpful variables related to commercial license handling,
  defined in the
-``poky/meta/conf/distro/include/default-distrovars.inc`` file::
+``meta/conf/distro/include/default-distrovars.inc`` file in :term:`OpenEmbedded-Core (OE-Core)`::
 
     COMMERCIAL_AUDIO_PLUGINS ?= ""
     COMMERCIAL_VIDEO_PLUGINS ?= ""
@@ -460,22 +461,15 @@ and the source code modifications in one step.
 
  If the deployment team has a :ref:`overview-manual/concepts:bsp layer`
  and a distro layer, and those
-those layers are used to patch, compile, package, or modify (in any way)
+layers are used to patch, compile, package, or modify (in any way)
  any open source software included in your released images, you might be
  required to release those layers under section 3 of GPLv2 or section 1
  of GPLv3. One way of doing that is with a clean checkout of the version
-of the Yocto Project and layers used during your build. Here is an
-example:
+of the Yocto Project and layers used during your build. Removing the Git
+objects can be done like so:
 
-.. code-block:: shell
+.. code-block:: console
 
-   # We built using the dunfell branch of the poky repo
-   $ git clone -b dunfell git://git.yoctoproject.org/poky
-   $ cd poky
-   # We built using the release_branch for our layers
-   $ git clone -b release_branch git://git.mycompany.com/meta-my-bsp-layer
-   $ git clone -b release_branch git://git.mycompany.com/meta-my-software-layer
-   # clean up the .git repos
     $ find . -name ".git" -type d -exec rm -rf {} \;
 
  One thing a development organization might want to consider for end-user

documentation/dev-manual/licenses.rst automatically:: · line 492

Quoted 8 lines
documentation/dev-manual/licenses.rst +2 -3
@@ -494,9 +488,9 @@ automatically::
 
     BBLAYERS ?= " \
       ##OEROOT##/meta \
-     ##OEROOT##/meta-poky \
-     ##OEROOT##/meta-yocto-bsp \
-     ##OEROOT##/meta-mylayer \
+     ##OEROOT##/../meta-poky \
+     ##OEROOT##/../meta-yocto-bsp \

Aren't the two above supposed to be

../meta-yocto/meta-poky
../meta-yocto/meta-yocto-bsp

With this fixed:

Thanks!
Quentin

#62 lore raw

PATCH v2 40/56 dev-manual/licenses.rst: instruct to use git-archive instead of removing .git

In reply to Antonin Godard

Removing .git directories is destructive. Instruct to use git archive instead.

---
 documentation/dev-manual/licenses.rst | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
documentation/dev-manual/licenses.rst +2 -6
index 1887e8e35..3d0167e75 100644
@@ -465,12 +465,8 @@ layers are used to patch, compile, package, or modify (in any way)
 any open source software included in your released images, you might be
 required to release those layers under section 3 of GPLv2 or section 1
 of GPLv3. One way of doing that is with a clean checkout of the version
-of the Yocto Project and layers used during your build. Removing the Git
-objects can be done like so:
-
-.. code-block:: console
-
-   $ find . -name ".git" -type d -exec rm -rf {} \;
+of the Yocto Project and layers used during your build. Archiving a Git
+repository can be done with the :manpage:`git-archive <git-archive(1)>` command.
 
 One thing a development organization might want to consider for end-user
 convenience is to modify
Signature · 1 line
2.52.0
#64 lore raw

PATCH v2 41/56 dev-manual/packages.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete.

---
 documentation/dev-manual/packages.rst | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
documentation/dev-manual/packages.rst +6 -5
index 8bd48c8e8..ebed8f076 100644
@@ -361,8 +361,9 @@ package. It is also perfectly acceptable to call ``do_split_packages``
 multiple times if you have more than one set of modules to package.
 
 For more examples that show how to use ``do_split_packages``, see the
-``connman.inc`` file in the ``meta/recipes-connectivity/connman/``
-directory of the ``poky`` :ref:`source repository <overview-manual/development-environment:yocto project source repositories>`. You can
+``connman.inc`` file in the :oe_git:`meta/recipes-connectivity/connman/
+</openembedded-core/tree/meta/recipes-connectivity/connman/>`
+directory of :term:`OpenEmbedded-Core (OE-Core)`. You can
 also find examples in ``meta/classes-recipe/kernel.bbclass``.
 
 Here is a reference that shows ``do_split_packages`` mandatory and
@@ -543,7 +544,7 @@ to use. In your configuration, you use the
 variable to specify the format:
 
 #. Open the ``local.conf`` file inside your :term:`Build Directory` (e.g.
-   ``poky/build/conf/local.conf``).
+   ``bitbake-builds/build/conf/local.conf``).
 
 #. Select the desired package format as follows::
 
@@ -637,10 +638,10 @@ Lighttpd, or Nginx), take the appropriate steps to do so.
 
 From within the :term:`Build Directory` where you have built an image based on
 your packaging choice (i.e. the :term:`PACKAGE_CLASSES` setting), simply start
-the server. The following example assumes a :term:`Build Directory` of ``poky/build``
+the server. The following example assumes a :term:`Build Directory` of ``bitbake-builds/build``
 and a :term:`PACKAGE_CLASSES` setting of ":ref:`ref-classes-package_rpm`"::
 
-   $ cd poky/build/tmp/deploy/rpm
+   $ cd bitbake-builds/build/tmp/deploy/rpm
    $ python3 -m http.server
 
 Target Setup
Signature · 1 line
2.52.0
Reviewed-by on v2 41/56
#65 lore raw

Re: [docs] [PATCH v2 41/56] dev-manual/packages.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 2 lines · Antonin Godard via lists.yoctoproject.org

Refresh the document now that the Poky repository is obsolete.

Thanks!
Quentin

#66 lore raw

PATCH v2 42/56 dev-manual/python-development-shell.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete.

---
 documentation/dev-manual/python-development-shell.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/dev-manual/python-development-shell.rst +1 -1
index 81a5c43472..0756304323 100644
@@ -16,7 +16,7 @@ the following are useful when exploring the data store and running
 functions::
 
    pydevshell> d.getVar("STAGING_DIR")
-   '/media/build1/poky/build/tmp/sysroots'
+   '/media/build1/bitbake-builds/build/tmp/sysroots'
    pydevshell> d.getVar("STAGING_DIR", False)
    '${TMPDIR}/sysroots'
    pydevshell> d.setVar("FOO", "bar")
Signature · 1 line
2.52.0
Reviewed-by on v2 42/56
#67 lore raw

Re: [docs] [PATCH v2 42/56] dev-manual/python-development-shell.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 2 lines · Antonin Godard via lists.yoctoproject.org

Refresh the document now that the Poky repository is obsolete.

Thanks!
Quentin

#68 lore raw

PATCH v2 43/56 dev-manual/qemu.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete.

---
 documentation/dev-manual/qemu.rst | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
documentation/dev-manual/qemu.rst +6 -5
index 442fdced3..e40660a96 100644
@@ -53,12 +53,13 @@ available. Follow these general steps to run QEMU:
 #. *Setting Up the Environment:* How you set up the QEMU environment
    depends on how you installed QEMU:
 
-   -  If you cloned the ``poky`` repository or you downloaded and
-      unpacked a Yocto Project release tarball, you can source the build
-      environment script (i.e. :ref:`structure-core-script`)::
+   -  If you followed :doc:`/dev-manual/start`, either use ``bitbake-setup`` or source
+      the environment setup script manually::
 
-         $ cd poky
-         $ source oe-init-build-env
+      .. code-block:: console
+
+         $ cd bitbake-builds
+         $ source layers/openembedded-core/oe-init-build-env
 
    -  If you installed a cross-toolchain, you can run the script that
       initializes the toolchain. For example, the following commands run
Signature · 1 line
2.52.0
Reviewed-by on v2 43/56
#69 lore raw

Re: [docs] [PATCH v2 43/56] dev-manual/qemu.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 2 lines · Antonin Godard via lists.yoctoproject.org

Refresh the document now that the Poky repository is obsolete.

Thanks!
Quentin

#70 lore raw

PATCH v2 44/56 dev-manual/upgrading-recipes.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete.

---
 documentation/dev-manual/upgrading-recipes.rst | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
documentation/dev-manual/upgrading-recipes.rst +11 -11
index 2e6567867..c4199d160 100644
@@ -84,12 +84,12 @@ The following steps describe how to set up the AUH utility:
    AUH is not part of the :term:`OpenEmbedded-Core (OE-Core)` or
    :term:`Poky` repositories.
 
-#. *Create a Dedicated Build Directory:* Run the :ref:`structure-core-script`
+#. *Create a Dedicated Build Directory:* Create a new :term:`bitbake:Setup` with
+   ``bitbake-setup`` or manually run the :ref:`structure-core-script`
    script to create a fresh :term:`Build Directory` that you use exclusively
    for running the AUH utility::
 
-      $ cd poky
-      $ source oe-init-build-env your_AUH_build_directory
+      $ source layers/openembedded-core/oe-init-build-env your_AUH_build_directory
 
    Re-using an existing :term:`Build Directory` and its configurations is not
    recommended as existing settings could cause AUH to fail or behave
@@ -121,7 +121,7 @@ The following steps describe how to set up the AUH utility:
 
       .. note::
 
-         If your distro does not enable by default ptest, which Poky
+         If your distro does not enable by default ptest, which :term:`Poky`
          does, you need the following in your ``local.conf`` file::
 
                  DISTRO_FEATURES:append = " ptest"
@@ -143,7 +143,7 @@ The following steps describe how to set up the AUH utility:
    described earlier, you must enable it in ``upgrade-helper.conf``.
 
    Also, if you are using the default ``maintainers.inc`` file supplied
-   with Poky and located in ``meta-yocto`` and you do not set a
+   in :term:`OpenEmbedded-Core (OE-Core)` and you do not set a
    "maintainers_whitelist" or "global_maintainer_override" in the
    ``upgrade-helper.conf`` configuration, and you specify "-e all" on
    the AUH command-line, the utility automatically sends out emails to
@@ -263,7 +263,7 @@ directory automatically upgrades the recipe for you::
 
    $ devtool upgrade nano -V 2.9.3
    NOTE: Starting bitbake server...
-   NOTE: Creating workspace layer in /home/scottrif/poky/build/workspace
+   NOTE: Creating workspace layer in /home/scottrif/bitbake-builds/build/workspace
    Parsing recipes: 100% |##########################################| Time: 0:00:46
    Parsing of 1431 .bb files complete (0 cached, 1431 parsed). 2040 targets, 56 skipped, 0 masked, 0 errors.
    NOTE: Extracting current version source...
@@ -275,8 +275,8 @@ directory automatically upgrades the recipe for you::
    NOTE: Executing RunQueue Tasks
    NOTE: Tasks Summary: Attempted 74 tasks of which 72 didn't need to be rerun and all succeeded.
    Adding changed files: 100% |#####################################| Time: 0:00:00
-   NOTE: Upgraded source extracted to /home/scottrif/poky/build/workspace/sources/nano
-   NOTE: New recipe is /home/scottrif/poky/build/workspace/recipes/nano/nano_2.9.3.bb
+   NOTE: Upgraded source extracted to /home/scottrif/bitbake-builds/build/workspace/sources/nano
+   NOTE: New recipe is /home/scottrif/bitbake-builds/build/workspace/recipes/nano/nano_2.9.3.bb
 
 .. note::
 
@@ -298,7 +298,7 @@ newly upgraded recipe::
           .
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
-   NOTE: nano: compiling from external source tree /home/scottrif/poky/build/workspace/sources/nano
+   NOTE: nano: compiling from external source tree /home/scottrif/bitbake-builds/build/workspace/sources/nano
    NOTE: Tasks Summary: Attempted 520 tasks of which 304 didn't need to be rerun and all succeeded.
 
 Within the ``devtool upgrade`` workflow, you can
@@ -320,8 +320,8 @@ directory::
    NOTE: Adding new patch 0001-nano.bb-Stuff-I-changed-when-upgrading-nano.bb.patch
    NOTE: Updating recipe nano_2.9.3.bb
    NOTE: Removing file /home/scottrif/meta-openembedded/meta-oe/recipes-support/nano/nano_2.7.4.bb
-   NOTE: Moving recipe file to /home/scottrif/meta-openembedded/meta-oe/recipes-support/nano
-   NOTE: Leaving source tree /home/scottrif/poky/build/workspace/sources/nano as-is; if you no longer need it then please delete it manually
+   NOTE: Moving recipe file to /home/scottrif/layers/meta-openembedded/meta-oe/recipes-support/nano
+   NOTE: Leaving source tree /home/scottrif/bitbake-builds/build/workspace/sources/nano as-is; if you no longer need it then please delete it manually
 
 
 Using the ``devtool finish`` command cleans up the workspace and creates a patch
Signature · 1 line
2.52.0
Reviewed-by on v2 44/56
#71 lore raw

Re: [docs] [PATCH v2 44/56] dev-manual/upgrading-recipes.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 75 lines · Antonin Godard via lists.yoctoproject.org

Refresh the document now that the Poky repository is obsolete.

---
  documentation/dev-manual/upgrading-recipes.rst | 22 +++++++++++-----------
  1 file changed, 11 insertions(+), 11 deletions(-)
documentation/dev-manual/upgrading-recipes.rst +9 -9
index 2e6567867..c4199d160 100644
@@ -84,12 +84,12 @@ The following steps describe how to set up the AUH utility:
     AUH is not part of the :term:`OpenEmbedded-Core (OE-Core)` or
     :term:`Poky` repositories.
 
-#. *Create a Dedicated Build Directory:* Run the :ref:`structure-core-script`
+#. *Create a Dedicated Build Directory:* Create a new :term:`bitbake:Setup` with
+   ``bitbake-setup`` or manually run the :ref:`structure-core-script`
     script to create a fresh :term:`Build Directory` that you use exclusively
     for running the AUH utility::
 
-      $ cd poky
-      $ source oe-init-build-env your_AUH_build_directory
+      $ source layers/openembedded-core/oe-init-build-env your_AUH_build_directory
 
     Re-using an existing :term:`Build Directory` and its configurations is not
     recommended as existing settings could cause AUH to fail or behave
@@ -121,7 +121,7 @@ The following steps describe how to set up the AUH utility:
 
        .. note::
 
-         If your distro does not enable by default ptest, which Poky
+         If your distro does not enable by default ptest, which :term:`Poky`
           does, you need the following in your ``local.conf`` file::
 
                   DISTRO_FEATURES:append = " ptest"
@@ -143,7 +143,7 @@ The following steps describe how to set up the AUH utility:
     described earlier, you must enable it in ``upgrade-helper.conf``.
 
     Also, if you are using the default ``maintainers.inc`` file supplied
-   with Poky and located in ``meta-yocto`` and you do not set a
+   in :term:`OpenEmbedded-Core (OE-Core)` and you do not set a
     "maintainers_whitelist" or "global_maintainer_override" in the
     ``upgrade-helper.conf`` configuration, and you specify "-e all" on
     the AUH command-line, the utility automatically sends out emails to
@@ -263,7 +263,7 @@ directory automatically upgrades the recipe for you::
 
     $ devtool upgrade nano -V 2.9.3
     NOTE: Starting bitbake server...
-   NOTE: Creating workspace layer in /home/scottrif/poky/build/workspace
+   NOTE: Creating workspace layer in /home/scottrif/bitbake-builds/build/workspace
     Parsing recipes: 100% |##########################################| Time: 0:00:46
     Parsing of 1431 .bb files complete (0 cached, 1431 parsed). 2040 targets, 56 skipped, 0 masked, 0 errors.
     NOTE: Extracting current version source...
@@ -275,8 +275,8 @@ directory automatically upgrades the recipe for you::
     NOTE: Executing RunQueue Tasks
     NOTE: Tasks Summary: Attempted 74 tasks of which 72 didn't need to be rerun and all succeeded.
     Adding changed files: 100% |#####################################| Time: 0:00:00
-   NOTE: Upgraded source extracted to /home/scottrif/poky/build/workspace/sources/nano
-   NOTE: New recipe is /home/scottrif/poky/build/workspace/recipes/nano/nano_2.9.3.bb
+   NOTE: Upgraded source extracted to /home/scottrif/bitbake-builds/build/workspace/sources/nano
+   NOTE: New recipe is /home/scottrif/bitbake-builds/build/workspace/recipes/nano/nano_2.9.3.bb
 
  .. note::
 
@@ -298,7 +298,7 @@ newly upgraded recipe::
            .
     NOTE: Executing SetScene Tasks
     NOTE: Executing RunQueue Tasks
-   NOTE: nano: compiling from external source tree /home/scottrif/poky/build/workspace/sources/nano
+   NOTE: nano: compiling from external source tree /home/scottrif/bitbake-builds/build/workspace/sources/nano
     NOTE: Tasks Summary: Attempted 520 tasks of which 304 didn't need to be rerun and all succeeded.
 
  Within the ``devtool upgrade`` workflow, you can

documentation/dev-manual/upgrading-recipes.rst directory:: · line 322

Quoted 3 lines
documentation/dev-manual/upgrading-recipes.rst +0 -0
@@ -320,8 +320,8 @@ directory::
     NOTE: Adding new patch 0001-nano.bb-Stuff-I-changed-when-upgrading-nano.bb.patch
     NOTE: Updating recipe nano_2.9.3.bb
     NOTE: Removing file /home/scottrif/meta-openembedded/meta-oe/recipes-support/nano/nano_2.7.4.bb

We should probably update the meta-oe layer addition to follow the new layout (/home/scottrif/bitbake-builds/layers/).

Can be done in a separate patch/series though, so

Thanks!
Quentin

#72 lore raw

PATCH v2 45/56 dev-manual/vulnerabilities.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete. Mention that only vulnerabilities in OpenEmbedded-Core are tracked as that's where the packages are.

---
 documentation/security-manual/vulnerabilities.rst | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
documentation/security-manual/vulnerabilities.rst +10 -10
index 6eaf75758..e6135a525 100644
@@ -3,8 +3,8 @@
 Checking for Vulnerabilities
 ****************************
 
-Vulnerabilities in Poky and OE-Core
-===================================
+Vulnerabilities in OpenEmbedded-Core (OE-Core)
+==============================================
 
 The Yocto Project has an infrastructure to track and address unfixed
 known security vulnerabilities, as tracked by the public
@@ -13,15 +13,15 @@ database.
 
 The Yocto Project maintains a `list of known vulnerabilities
 <https://valkyrie.yocto.io/pub/non-release/patchmetrics/>`__
-for packages in Poky and OE-Core, tracking the evolution of the number of
+for packages in :term:`OpenEmbedded-Core (OE-Core)`, tracking the evolution of the number of
 unpatched CVEs and the status of patches. Such information is available for
 the current development version and for each supported release.
 
 Security is a process, not a product, and thus at any time, a number of security
-issues may be impacting Poky and OE-Core. It is up to the maintainers, users,
+issues may be impacting :term:`OpenEmbedded-Core (OE-Core)`. It is up to the maintainers, users,
 contributors and anyone interested in the issues to investigate and possibly fix them by
 updating software components to newer versions or by applying patches to address them.
-It is recommended to work with Poky and OE-Core upstream maintainers and submit
+It is recommended to work with :term:`OpenEmbedded-Core (OE-Core)` upstream maintainers and submit
 patches to fix them, see ":doc:`/contributor-guide/submit-changes`" for details.
 
 Vulnerability check at build time
@@ -34,7 +34,7 @@ add the following setting to your configuration::
    INHERIT += "cve-check"
 
 The CVE database contains some old incomplete entries which have been
-deemed not to impact Poky or OE-Core. These CVE entries can be excluded from the
+deemed not to impact :term:`OpenEmbedded-Core (OE-Core)`. These CVE entries can be excluded from the
 check using build configuration::
 
    include conf/distro/include/cve-extra-exclusions.inc
@@ -167,7 +167,7 @@ the :term:`CVE_VERSION` variable.
 
 Note that if the CVE entries in the NVD database contain bugs or have missing or incomplete
 information, it is recommended to fix the information there directly instead of working
-around the issues possibly for a long time in Poky and OE-Core side recipes. Feedback to
+around the issues possibly for a long time in :term:`OpenEmbedded-Core (OE-Core)` side recipes. Feedback to
 NVD about CVE entries can be provided through the `NVD contact form <https://nvd.nist.gov/info/contact-form>`__.
 
 Fixing vulnerabilities in recipes
@@ -175,7 +175,7 @@ Fixing vulnerabilities in recipes
 
 Suppose a CVE security issue impacts a software component. In that case, it can
 be fixed by updating to a newer version, by applying a patch, or by marking it
-as patched via :term:`CVE_STATUS` variable flag. For Poky and OE-Core master
+as patched via :term:`CVE_STATUS` variable flag. For OE-Core master
 branches, updating to a more recent software component release with fixes is
 the best option, but patches can be applied if releases are not yet available.
 
@@ -276,8 +276,8 @@ The entry should have the format like::
    CVE_STATUS[CVE-2016-10642] = "cpe-incorrect: This is specific to the npm package that installs cmake, so isn't relevant to OpenEmbedded"
 
 As mentioned previously, if data in the CVE database is wrong, it is recommended
-to fix those issues in the CVE database (NVD in the case of OE-core and Poky)
-directly.
+to fix those issues in the CVE database (NVD in the case of
+:term:`OpenEmbedded-Core (OE-Core)`) directly.
 
 Note that if there are many CVEs with the same status and reason, those can be
 shared by using the :term:`CVE_STATUS_GROUPS` variable.
Signature · 1 line
2.52.0
Reviewed-by on v2 45/56
#73 lore raw

Re: [docs] [PATCH v2 45/56] dev-manual/vulnerabilities.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 4 lines · Antonin Godard via lists.yoctoproject.org

Refresh the document now that the Poky repository is obsolete. Mention that only vulnerabilities in OpenEmbedded-Core are tracked as that's where the packages are.

As far as I could tell, no changes since v1 and there I had

Thanks!
Quentin

#74 lore raw

PATCH v2 46/56 ref-manual/devtool-reference.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete.

---
 documentation/ref-manual/devtool-reference.rst | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
documentation/ref-manual/devtool-reference.rst +5 -5
index 5ac567591..863825b06 100644
@@ -346,7 +346,7 @@ variables in package recipes.
       mechanisms cannot find the new upstream versions.
 
    -  For the ``oe-core`` layer, recipe maintainers come from the
-      :yocto_git:`maintainers.inc </poky/tree/meta/conf/distro/include/maintainers.inc>`
+      :oe_git:`maintainers.inc </openembedded-core/tree/meta/conf/distro/include/maintainers.inc>`
       file.
 
    -  If the recipe is using the :ref:`bitbake-user-manual/bitbake-user-manual-fetching:git fetcher (\`\`git://\`\`)`
@@ -390,8 +390,8 @@ In this example, while a new version is available upstream, you do not
 want to use it because the dependency on ``cdebconf`` is not easily
 satisfied. Maintainers can explicit the reason that is shown by adding
 the :term:`RECIPE_NO_UPDATE_REASON` variable to the corresponding recipe.
-See :yocto_git:`base-passwd.bb </poky/tree/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb?h=kirkstone>`
-for an example::
+See the :oe_git:`base-passwd_*.bb </openembedded-core/tree/meta/recipes-core/base-passwd/>`
+recipe for an example::
 
    RECIPE_NO_UPDATE_REASON = "Version 3.5.38 requires cdebconf for update-passwd utility"
 
@@ -460,7 +460,7 @@ Here is an example that resets the workspace directory that contains the
 
    $ devtool reset mtr
    NOTE: Cleaning sysroot for recipe mtr...
-   NOTE: Leaving source tree /home/scottrif/poky/build/workspace/sources/mtr as-is; if you no longer need it then please delete it manually
+   NOTE: Leaving source tree /home/scottrif/bitbake-builds/build/workspace/sources/mtr as-is; if you no longer need it then please delete it manually
    $
 
 .. _devtool-finish-working-on-a-recipe:
@@ -633,7 +633,7 @@ Here is sample output after using
 to create and add the ``mtr_0.86.bb`` recipe to the ``workspace`` directory::
 
    $ devtool status
-   mtr:/home/scottrif/poky/build/workspace/sources/mtr (/home/scottrif/poky/build/workspace/recipes/mtr/mtr_0.86.bb)
+   mtr:/home/scottrif/bitbake-builds/build/workspace/sources/mtr (/home/scottrif/bitbake-builds/build/workspace/recipes/mtr/mtr_0.86.bb)
    $
 
 .. _devtool-search-for-available-target-recipes:
Signature · 1 line
2.52.0
Reviewed-by on v2 46/56
#75 lore raw

Re: [docs] [PATCH v2 46/56] ref-manual/devtool-reference.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 2 lines · Antonin Godard via lists.yoctoproject.org

Refresh the document now that the Poky repository is obsolete.

Thanks!
Quentin

#76 lore raw

PATCH v2 47/56 ref-manual/faq.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete.

Rework the difference between Poky and OpenEmbedded. Copy the note from terms.rst regarding the now obsolete Poky repository.

---
 documentation/ref-manual/faq.rst | 43 ++++++++++++++++++++++++++++++----------
 1 file changed, 32 insertions(+), 11 deletions(-)
documentation/ref-manual/faq.rst +32 -11
index 6c5b9d4e7..7557a7269 100644
@@ -12,14 +12,35 @@ General questions
 How does Poky differ from OpenEmbedded?
 ---------------------------------------
 
-The term ``Poky`` refers to the specific reference build
-system that the Yocto Project provides. Poky is based on
-:term:`OpenEmbedded-Core (OE-Core)` and :term:`BitBake`. Thus, the
-generic term used here for the build system is the "OpenEmbedded build
-system." Development in the Yocto Project using Poky is closely tied to
-OpenEmbedded, with changes always being merged to OE-Core or BitBake
-first before being pulled back into Poky. This practice benefits both
-projects immediately.
+The term :term:`Poky` refers to the reference distribution that the Yocto
+Project provides, and a reference test configuration.
+
+The :term:`Poky` distribution is built using the :term:`OpenEmbedded Build
+System` and :term:`BitBake`. The :term:`metadata` used involved to build the
+:term:`Poky` reference distribution is:
+
+-  :term:`OpenEmbedded-Core (OE-Core)`, which is hosted at
+   :oe_git:`/openembedded-core`.
+
+-  :yocto_git:`meta-poky <meta-yocto/tree/meta-poky>`, which defines the
+   ``poky`` distro configuration file (:term:`DISTRO`).
+
+.. note::
+
+   Poky also used to be a repository containing the combination of
+   :term:`BitBake`, :term:`OpenEmbedded-Core (OE-Core)`, the
+   :yocto_git:`meta-yocto </meta-yocto>` repository and the Yocto Project
+   documentation -- which were combined with the :yocto_git:`combo-layer
+   </poky-config>` tool.
+
+   This repository is still hosted at :yocto_git:`/poky` and is still
+   updated for maintained releases that are older than Whinlatter (5.3).
+   Newer releases now use ``bitbake-setup`` to clone and setup the initial
+   :term:`OpenEmbedded Build System` environment. For more information on
+   how to use ``bitbake-setup``, see the :doc:`/brief-yoctoprojectqs/index`
+   document. An alternative can be to setup the above repositories
+   manually, by following the :doc:`/dev-manual/poky-manual-setup`
+   section of the Yocto Project Development Tasks Manual.
 
 How can you claim Poky / OpenEmbedded-Core is stable?
 -----------------------------------------------------
@@ -27,7 +48,7 @@ How can you claim Poky / OpenEmbedded-Core is stable?
 There are three areas that help with stability;
 
 -  The Yocto Project team keeps :term:`OpenEmbedded-Core (OE-Core)` small and
-   focused, containing around 830 recipes as opposed to the thousands
+   focused, containing around a thousand recipes as opposed to the thousands
    available in other OpenEmbedded community layers. Keeping it small
    makes it easy to test and maintain.
 
@@ -87,8 +108,8 @@ configurable. You can setup the build system to get source code in most
 environments if HTTP transport is available.
 
 When the build system searches for source code, it first tries the local
-download directory. If that location fails, Poky tries
-:term:`PREMIRRORS`, the upstream source, and then
+download directory. If that location fails, the :term:`OpenEmbedded Build
+System` tries :term:`PREMIRRORS`, the upstream source, and then
 :term:`MIRRORS` in that order.
 
 Assuming your distribution is "poky", the OpenEmbedded build system uses
Signature · 1 line
2.52.0
Reviewed-by on v2 47/56
#77 lore raw

Re: [docs] [PATCH v2 47/56] ref-manual/faq.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 21 lines · Antonin Godard via lists.yoctoproject.org

Refresh the document now that the Poky repository is obsolete.

Rework the difference between Poky and OpenEmbedded. Copy the note from terms.rst regarding the now obsolete Poky repository.

---
  documentation/ref-manual/faq.rst | 43 ++++++++++++++++++++++++++++++----------
  1 file changed, 32 insertions(+), 11 deletions(-)
documentation/ref-manual/faq.rst +0 -3
index 6c5b9d4e7..7557a7269 100644
@@ -12,14 +12,35 @@ General questions
  How does Poky differ from OpenEmbedded?
  ---------------------------------------
 
-The term ``Poky`` refers to the specific reference build
-system that the Yocto Project provides. Poky is based on
-:term:`OpenEmbedded-Core (OE-Core)` and :term:`BitBake`. Thus, the

documentation/ref-manual/faq.rst General questions · line 19

Quoted 10 lines
documentation/ref-manual/faq.rst +5 -5
-generic term used here for the build system is the "OpenEmbedded build
-system." Development in the Yocto Project using Poky is closely tied to
-OpenEmbedded, with changes always being merged to OE-Core or BitBake
-first before being pulled back into Poky. This practice benefits both
-projects immediately.
+The term :term:`Poky` refers to the reference distribution that the Yocto
+Project provides, and a reference test configuration.
+
+The :term:`Poky` distribution is built using the :term:`OpenEmbedded Build
+System` and :term:`BitBake`. The :term:`metadata` used involved to build the

"used involved" sounds wrong to my ears.

Also I believe it should "involved in building" or "used to build".

Up to you, either works.

Quoted 37 lines
documentation/ref-manual/faq.rst +25 -1
+:term:`Poky` reference distribution is:
+
+-  :term:`OpenEmbedded-Core (OE-Core)`, which is hosted at
+   :oe_git:`/openembedded-core`.
+
+-  :yocto_git:`meta-poky <meta-yocto/tree/meta-poky>`, which defines the
+   ``poky`` distro configuration file (:term:`DISTRO`).
+
+.. note::
+
+   Poky also used to be a repository containing the combination of
+   :term:`BitBake`, :term:`OpenEmbedded-Core (OE-Core)`, the
+   :yocto_git:`meta-yocto </meta-yocto>` repository and the Yocto Project
+   documentation -- which were combined with the :yocto_git:`combo-layer
+   </poky-config>` tool.
+
+   This repository is still hosted at :yocto_git:`/poky` and is still
+   updated for maintained releases that are older than Whinlatter (5.3).
+   Newer releases now use ``bitbake-setup`` to clone and setup the initial
+   :term:`OpenEmbedded Build System` environment. For more information on
+   how to use ``bitbake-setup``, see the :doc:`/brief-yoctoprojectqs/index`
+   document. An alternative can be to setup the above repositories
+   manually, by following the :doc:`/dev-manual/poky-manual-setup`
+   section of the Yocto Project Development Tasks Manual.
 
  How can you claim Poky / OpenEmbedded-Core is stable?
  -----------------------------------------------------
@@ -27,7 +48,7 @@ How can you claim Poky / OpenEmbedded-Core is stable?
  There are three areas that help with stability;
 
  -  The Yocto Project team keeps :term:`OpenEmbedded-Core (OE-Core)` small and
-   focused, containing around 830 recipes as opposed to the thousands
+   focused, containing around a thousand recipes as opposed to the thousands
     available in other OpenEmbedded community layers. Keeping it small
     makes it easy to test and maintain.
 

documentation/ref-manual/faq.rst configurable. You can setup the build system to get source code in most · line 111

Quoted 6 lines
documentation/ref-manual/faq.rst +1 -2
@@ -87,8 +108,8 @@ configurable. You can setup the build system to get source code in most
  environments if HTTP transport is available.
 
  When the build system searches for source code, it first tries the local
-download directory. If that location fails, Poky tries
-:term:`PREMIRRORS`, the upstream source, and then
+download directory. If that location fails, the :term:`OpenEmbedded Build

Suggestion: Would "download directory" be :term:DL_DIR here? Maybe we could specify it.

documentation/ref-manual/faq.rst configurable. You can setup the build system to get source code in most · line 112

Quoted 1 line
documentation/ref-manual/faq.rst +1 -0
+System` tries :term:`PREMIRRORS`, the upstream source, and then

Suggestion: I guess upstream source would be :term:SRC_URI here? "as listed in :term:SRC_URI" maybe?

Suggestions done in a separate patch/series is fine, so

Thanks!
Quentin

#78 lore raw

PATCH v2 48/56 ref-manual/features.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete.

---
 documentation/ref-manual/features.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/ref-manual/features.rst +1 -1
index df3783089..be67bc0ea 100644
@@ -28,7 +28,7 @@ a particular feature is contained or not is to ``grep`` through the
 discovers the recipes whose build is potentially changed based on a
 given feature::
 
-   $ cd poky
+   $ cd openembedded-core
    $ git grep 'contains.*MACHINE_FEATURES.*feature'
 
 .. _ref-features-machine:
Signature · 1 line
2.52.0
#79 lore raw

PATCH v2 49/56 ref-manual/release-process.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete.

---
 documentation/ref-manual/release-process.rst | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
documentation/ref-manual/release-process.rst +4 -2
index 165dfb86d..a75ca52cc 100644
@@ -232,10 +232,12 @@ efficiently.
 
 The Yocto Project's main :yocto_ab:`Autobuilder <>` publicly tests each Yocto
 Project release's code in the :oe_git:`openembedded-core </openembedded-core>`,
-:yocto_git:`poky </poky>` and :oe_git:`bitbake </bitbake>` repositories. The
+:yocto_git:`meta-yocto </meta-yocto>` and :oe_git:`bitbake </bitbake>` repositories. The
 testing occurs for both the current state of the "master" branch and also for
 submitted patches. Testing for submitted patches usually occurs in the
-in the "master-next" branch in the :yocto_git:`poky </poky>` repository.
+in the "master-next" branch in the :oe_git:`openembedded-core
+</openembedded-core>`, :yocto_git:`meta-yocto </meta-yocto>` and
+:oe_git:`bitbake </bitbake>` repository.
 
 .. note::
 
Signature · 1 line
2.52.0
#80 lore raw

PATCH v2 50/56 ref-manual/release-process.rst: remove repeated "in the"

In reply to Antonin Godard
---
 documentation/ref-manual/release-process.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/ref-manual/release-process.rst +1 -1
index a75ca52cc..a55187c14 100644
@@ -234,7 +234,7 @@ The Yocto Project's main :yocto_ab:`Autobuilder <>` publicly tests each Yocto
 Project release's code in the :oe_git:`openembedded-core </openembedded-core>`,
 :yocto_git:`meta-yocto </meta-yocto>` and :oe_git:`bitbake </bitbake>` repositories. The
 testing occurs for both the current state of the "master" branch and also for
-submitted patches. Testing for submitted patches usually occurs in the
+submitted patches. Testing for submitted patches usually occurs
 in the "master-next" branch in the :oe_git:`openembedded-core
 </openembedded-core>`, :yocto_git:`meta-yocto </meta-yocto>` and
 :oe_git:`bitbake </bitbake>` repository.
Signature · 1 line
2.52.0
#82 lore raw

PATCH v2 51/56 ref-manual/system-requirements.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete.

---
 documentation/ref-manual/system-requirements.rst | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
documentation/ref-manual/system-requirements.rst +6 -6
index a56e683ca..9b681290e 100644
@@ -405,8 +405,8 @@ installer and automatically installs the tools for you:
 
 #. Execute the ``install-buildtools`` script. Here is an example::
 
-      $ cd poky
-      $ scripts/install-buildtools \
+      $ cd /path/to/bitbake-builds
+      $ ./layers/openembedded-core/scripts/install-buildtools \
         --without-extended-buildtools \
         --base-url &YOCTO_DL_URL;/releases/yocto \
         --release yocto-&DISTRO; \
@@ -420,26 +420,26 @@ installer and automatically installs the tools for you:
    To avoid the need of ``sudo`` privileges, the ``install-buildtools``
    script will by default tell the installer to install in::
 
-      /path/to/poky/buildtools
+      /path/to/bitbake-builds/buildtools
 
    If your host development system needs the additional tools provided
    in the :term:`buildtools-extended` tarball, you can instead execute the
    ``install-buildtools`` script with the default parameters::
 
-      $ cd poky
+      $ cd /path/to/bitbake-builds
       $ scripts/install-buildtools
 
    Alternatively if your host development system has a broken ``make``
    version such that you only need a known good version of ``make``,
    you can use the ``--make-only`` option::
 
-      $ cd poky
+      $ cd /path/to/bitbake-builds
       $ scripts/install-buildtools --make-only
 
 #. Source the tools environment setup script by using a command like the
    following::
 
-      $ source /path/to/poky/buildtools/environment-setup-x86_64-pokysdk-linux
+      $ source /path/to/bitbake-builds/buildtools/environment-setup-x86_64-pokysdk-linux
 
    After you have sourced the setup script, the tools are added to
    ``PATH`` and any other environment variables required to run the
Signature · 1 line
2.52.0
Reviewed-by on v2 51/56
#83 lore raw

Re: [docs] [PATCH v2 51/56] ref-manual/system-requirements.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 27 lines · Antonin Godard via lists.yoctoproject.org

Refresh the document now that the Poky repository is obsolete.

---
  documentation/ref-manual/system-requirements.rst | 12 ++++++------
  1 file changed, 6 insertions(+), 6 deletions(-)
documentation/ref-manual/system-requirements.rst +2 -3
index a56e683ca..9b681290e 100644
@@ -405,8 +405,8 @@ installer and automatically installs the tools for you:
 
  #. Execute the ``install-buildtools`` script. Here is an example::
 
-      $ cd poky
-      $ scripts/install-buildtools \
+      $ cd /path/to/bitbake-builds
+      $ ./layers/openembedded-core/scripts/install-buildtools \
          --without-extended-buildtools \
          --base-url &YOCTO_DL_URL;/releases/yocto \
          --release yocto-&DISTRO; \
@@ -420,26 +420,26 @@ installer and automatically installs the tools for you:
     To avoid the need of ``sudo`` privileges, the ``install-buildtools``
     script will by default tell the installer to install in::
 
-      /path/to/poky/buildtools

documentation/ref-manual/system-requirements.rst installer and automatically installs the tools for you: · line 431

Quoted 10 lines
documentation/ref-manual/system-requirements.rst +2 -1
+      /path/to/bitbake-builds/buildtools
 
     If your host development system needs the additional tools provided
     in the :term:`buildtools-extended` tarball, you can instead execute the
     ``install-buildtools`` script with the default parameters::
 
-      $ cd poky
+      $ cd /path/to/bitbake-builds
        $ scripts/install-buildtools
 

This doesn't exist. With bitbake-setup, I get:

poky-master/layers/oe-scripts/install-buildtools poky-master/layers/oe-init-build-env-dir/scripts/install-buildtools poky-master/layers/openembedded-core/scripts/install-buildtools

the first two are symlinks to the last one, so I assume we want

./layers/openembedded-core/scripts/install-buildtools

documentation/ref-manual/system-requirements.rst installer and automatically installs the tools for you: · line 437

Quoted 7 lines
documentation/ref-manual/system-requirements.rst +1 -1
     Alternatively if your host development system has a broken ``make``
     version such that you only need a known good version of ``make``,
     you can use the ``--make-only`` option::
 
-      $ cd poky
+      $ cd /path/to/bitbake-builds
        $ scripts/install-buildtools --make-only

Ditto.

With those fixed:

Thanks!
Quentin

#84 lore raw

PATCH v2 52/56 ref-manual/system-requirements.rst: fix wrong path to install-buildtools

In reply to Antonin Godard
---
 documentation/ref-manual/system-requirements.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
documentation/ref-manual/system-requirements.rst +2 -2
index 9b681290e..f9f32f2a8 100644
@@ -427,14 +427,14 @@ installer and automatically installs the tools for you:
    ``install-buildtools`` script with the default parameters::
 
       $ cd /path/to/bitbake-builds
-      $ scripts/install-buildtools
+      $ ./layers/openembedded-core/scripts/install-buildtools
 
    Alternatively if your host development system has a broken ``make``
    version such that you only need a known good version of ``make``,
    you can use the ``--make-only`` option::
 
       $ cd /path/to/bitbake-builds
-      $ scripts/install-buildtools --make-only
+      $ ./layers/openembedded-core/scripts/install-buildtools --make-only
 
 #. Source the tools environment setup script by using a command like the
    following::
Signature · 1 line
2.52.0
#86 lore raw

PATCH v2 53/56 ref-manual/yocto-project-supported-features.rst: remove obsolete poky repo reference

In reply to Antonin Godard

Poky -> meta-yocto link replacement.

---
 documentation/ref-manual/yocto-project-supported-features.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/ref-manual/yocto-project-supported-features.rst +1 -1
index eeae6b24a..021fca36b 100644
@@ -59,7 +59,7 @@ Below is a list of primary tested features, their maintainer(s) and builder(s):
        qemuarm64-ptest,
        qemuarm64-tc,
        qemuarmv5
-   * - :yocto_git:`Beaglebone </poky/tree/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf>`
+   * - :yocto_git:`Beaglebone </meta-yocto/tree/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf>`
      - Beaglebone image and SDK build testing
      - Collective effort
      - beaglebone,
Signature · 1 line
2.52.0
#87 lore raw

PATCH v2 54/56 test-manual/reproducible-builds.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete.

---
 documentation/test-manual/reproducible-builds.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
documentation/test-manual/reproducible-builds.rst +4 -4
index 336bb7f26..84523ff13 100644
@@ -81,10 +81,10 @@ it always depends upon the paths it is built in.
 
 .. note::
 
-   Only BitBake and :term:`OpenEmbedded-Core (OE-Core)`, which is the ``meta``
-   layer in Poky, guarantee complete reproducibility. The moment you add
-   another layer, this warranty is voided, because of additional configuration
-   files, ``bbappend`` files, overridden classes, etc.
+   Only BitBake and :term:`OpenEmbedded-Core (OE-Core)` guarantee complete
+   reproducibility. The moment you add another layer, this warranty is voided,
+   because of additional configuration files, ``bbappend`` files, overridden
+   classes, etc.
 
 To run our automated selftest, as we use in our CI on the Autobuilder, you can
 run::
Signature · 1 line
2.52.0
#88 lore raw

PATCH v2 55/56 test-manual/understand-autobuilder.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete.

---
 documentation/test-manual/understand-autobuilder.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
documentation/test-manual/understand-autobuilder.rst +3 -3
index 23b3ef7d7..0015c2e57 100644
@@ -102,9 +102,9 @@ roughly consist of:
 #. *Call scripts/shared-repo-unpack*
 
    This is a call into the Helper scripts to set up a checkout of all
-   the pieces this build might need. It might clone the BitBake
-   repository and the OpenEmbedded-Core repository. It may clone the
-   Poky repository, as well as additional layers. It will use the data
+   the pieces this build might need. It might clone the :term:`BitBake`
+   repository, the :term:`OpenEmbedded-Core (OE-Core)` repository as well as
+   additional layers. It will use the data
    from the ``layerinfo.json`` file to help understand the
    configuration. It will also use a local cache of repositories to
    speed up the clone checkouts. For additional information, see
Signature · 1 line
2.52.0
Reviewed-by on v2 55/56
#89 lore raw

Re: [docs] [PATCH v2 55/56] test-manual/understand-autobuilder.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 2 lines · Antonin Godard via lists.yoctoproject.org

Refresh the document now that the Poky repository is obsolete.

Thanks!
Quentin

#90 lore raw

PATCH v2 56/56 what-i-wish-id-known.rst: remove obsolete poky repo references

In reply to Antonin Godard

Refresh the document now that the Poky repository is obsolete.

---
 documentation/what-i-wish-id-known.rst | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
documentation/what-i-wish-id-known.rst +3 -2
index ddee6ad74..36cf715fa 100644
@@ -60,8 +60,9 @@ contact us with other suggestions.
    layers, on the other hand, helps keep simplify future customizations and
    reuse.
 
-#. **Never modify the POKY layer. Never. Ever. When you update to the next
-   release, you'll lose all of your work. ALL OF IT.**
+#. **Never modify the core layers** (:term:`BitBake`, :term:`OpenEmbedded-Core
+   (OE-Core)` and possibly :yocto_git:`meta-yocto </meta-yocto>`). Never. Ever.
+   When you update to the next release, you'll lose all of your work. ALL OF IT.**
 
 #. **Don't be fooled by documentation searching results:**
    Yocto Project documentation is always being updated. Unfortunately, when you
Signature · 1 line
2.52.0
Reviewed-by on v2 56/56
#91 lore raw

Re: [docs] [PATCH v2 56/56] what-i-wish-id-known.rst: remove obsolete poky repo references

Hi Antonin,

Quoted 2 lines · Antonin Godard via lists.yoctoproject.org

Refresh the document now that the Poky repository is obsolete.

Thanks!
Quentin