bitbake-setup doc updates (yocto-docs)
cover bitbake-setup doc updates (yocto-docs)
Update the quick start document after changes from upstream bitbake-setup.
---
Antonin Godard (2):
brief-yoctoprojectqs/index.rst: update the bitbake clone command brief-yoctoprojectqs/index.rst: refresh after bitbake-setup updates
documentation/brief-yoctoprojectqs/index.rst | 49 ++++++++++++++++------------ 1 file changed, 29 insertions(+), 20 deletions(-)
---
base-commit: 9fec9ff39df9649c99b4f945fb879651f222a61c
change-id: 20251114-update-bbsetup-doc-21d63123dd59
PATCH 1/2 brief-yoctoprojectqs/index.rst: update the bitbake clone command
* Clone on the master branch for now, as the current tag is pointing to a version where bitbake-setup does not exist.
* Clone the bitbake repository with its default name. Some users are likely to already have bitbake cloned under this name, and with this change they'll still be able to copy the command listed in this guide.
* Use https:// instead of git:// for cloning.
--- documentation/brief-yoctoprojectqs/index.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
documentation/brief-yoctoprojectqs/index.rst +3 -3
@@ -97,13 +97,13 @@ the bitbake repository. .. code-block:: shell - $ git clone -b &DISTRO_REL_LATEST_TAG; git://git.openembedded.org/bitbake bitbake-setup + $ git clone https://git.openembedded.org/bitbake Setup a build environment with the following command: .. code-block:: shell - $ ./bitbake-setup/bin/bitbake-setup init + $ ./bitbake/bin/bitbake-setup init By default, this will setup a top directory in ``$HOME/bitbake-builds``.
@@ -112,7 +112,7 @@ current directory, you can set it with the :ref:`bitbake:ref-bbsetup-command-set .. code-block:: shell - $ ./bitbake-setup/bin/bitbake-setup settings set --global default top-dir-prefix $PWD + $ ./bitbake/bin/bitbake-setup settings set --global default top-dir-prefix $PWD .. note::
Signature · 1 line
2.51.0
Re: [docs] [PATCH 1/2] brief-yoctoprojectqs/index.rst: update the bitbake clone command
documentation/brief-yoctoprojectqs/index.rst the bitbake repository. · line 100
Quoted 2 lines · Antonin Godard via lists.yoctoproject.org
documentation/brief-yoctoprojectqs/index.rst +1
-1- $ git clone -b &DISTRO_REL_LATEST_TAG; git://git.openembedded.org/bitbake bitbake-setup + $ git clone https://git.openembedded.org/bitbake
Same note (about bitbake-setup not being coupled to things it is setting up) should be repeated here.
Alex
PATCH 2/2 brief-yoctoprojectqs/index.rst: refresh after bitbake-setup updates
In reply to Antonin GodardRefresh the brief-yoctoprojectqs document after changes in upstream bitbake-setup:
- Choices are now indexed starting from 1.
- Users can now choose the setup dir name during the init.
--- documentation/brief-yoctoprojectqs/index.rst | 43 +++++++++++++++++----------- 1 file changed, 26 insertions(+), 17 deletions(-)
documentation/brief-yoctoprojectqs/index.rst +26 -17
@@ -127,11 +127,11 @@ differ from the examples below. .. code-block:: shell Available configurations: - 0. poky-master Poky - The Yocto Project testing distribution configurations and hardware test platforms - 1. oe-nodistro OpenEmbedded - 'nodistro' basic configuration + 1. poky-master Poky - The Yocto Project testing distribution configurations and hardware test platforms + 2. oe-nodistro OpenEmbedded - 'nodistro' basic configuration Please select one of the above configurations by its number: - 0 + 1 Depending on the choice above, new options can be prompted to further specify which configuration to use. For example:
@@ -139,37 +139,46 @@ differ from the examples below. .. code-block:: shell Available bitbake configurations: - 0. poky Poky - The Yocto Project testing distribution - 1. poky-with-sstate Poky - The Yocto Project testing distribution with internet sstate acceleration. Use with caution as it requires a completely robust local network with sufficient bandwidth. + 1. poky Poky - The Yocto Project testing distribution + 2. poky-with-sstate Poky - The Yocto Project testing distribution with internet sstate acceleration. Use with caution as it requires a completely robust local network with sufficient bandwidth. Please select one of the above bitbake configurations by its number: - 0 + 1 #. Choose a target :term:`MACHINE` (for example, ``qemux86-64``): .. code-block:: shell Target machines: - 0. machine/qemux86-64 - 1. machine/qemuarm64 - 2. machine/qemuriscv64 - 3. machine/genericarm64 - 4. machine/genericx86-64 + 1. machine/qemux86-64 + 2. machine/qemuarm64 + 3. machine/qemuriscv64 + 4. machine/genericarm64 + 5. machine/genericx86-64 Please select one of the above options by its number: - 0 + 1 #. Choose a :term:`DISTRO` (for example, ``poky``): .. code-block:: shell Distribution configuration variants: - 0. distro/poky - 1. distro/poky-altcfg - 2. distro/poky-tiny + 1. distro/poky + 2. distro/poky-altcfg + 3. distro/poky-tiny Please select one of the above options by its number: - 0 + 1 + +#. Choose a :term:`bitbake:setup` directory name: + + .. code-block:: shell + + Enter setup directory name: [poky-master-poky-distro_poky-machine_qemux86-64] + + Press Enter to leave it to the default value shown in the brackets, or type a + custom directory name. .. note::
@@ -181,7 +190,7 @@ differ from the examples below. $ bitbake-setup init --non-interactive poky-master poky-with-sstate distro/poky machine/qemux86-64 The ``init`` command creates a new :term:`bitbake:Setup` in the -:term:`bitbake:top directory`. Its name is derived from the selected +:term:`bitbake:top directory`. The default name is derived from the selected configuration above. For the selected options in the above example, this would be::
Signature · 1 line
2.51.0