docs: ref-manual: ref-terms: add links to terms in glossary
PATCH v2 1/8 docs: ref-manual: ref-terms: add links to terms in glossary
Everything declared in a glossary has a "term-" link that is usable as an HTML anchor. The link already works, one just cannot get a link from within the ref-terms page.
Let's make this possible.
--- documentation/ref-manual/ref-terms.rst | 48 +++++++++++++------------- 1 file changed, 24 insertions(+), 24 deletions(-)
documentation/ref-manual/ref-terms.rst +24 -24
@@ -10,7 +10,7 @@ universal, the list includes them just in case: .. glossary:: - Append Files + :term:`Append Files` Files that append build information to a recipe file. Append files are known as BitBake append files and ``.bbappend`` files. The OpenEmbedded build system expects every append file to have a corresponding recipe
@@ -50,18 +50,18 @@ universal, the list includes them just in case: name. You cannot use the wildcard character in any other location of the name. - BitBake + :term:`BitBake` The task executor and scheduler used by the OpenEmbedded build system to build images. For more information on BitBake, see the :doc:`BitBake User Manual <bitbake:index>`. - Board Support Package (BSP) + :term:`Board Support Package (BSP)` A group of drivers, definitions, and other components that provide support for a specific hardware configuration. For more information on BSPs, see the :ref:`bsp-guide/bsp-guide:Yocto Project Board Support Package Developer's Guide`. - Build Directory + :term:`Build Directory` 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
@@ -109,19 +109,19 @@ universal, the list includes them just in case: drive. Doing so effectively separates TMPDIR from TOPDIR , which is the Build Directory. - Build Host + :term:`Build Host` The system used to build images in a Yocto Project Development environment. The build system is sometimes referred to as the development host. - Classes + :term:`Classes` Files that provide for logic encapsulation and inheritance so that commonly used patterns can be defined once and then easily used in multiple recipes. For reference information on the Yocto Project classes, see the ":ref:`ref-manual/ref-classes:Classes`" chapter. Class files end with the ``.bbclass`` filename extension. - Configuration File + :term:`Configuration File` Files that hold global definitions of variables, user-defined variables, and hardware configuration information. These files tell the OpenEmbedded build system what to build and what to put into the image to support a
@@ -138,13 +138,13 @@ universal, the list includes them just in case: :file:`machine/beaglebone.conf` configuration file defines variables for the Texas Instruments ARM Cortex-A8 development board). - Container Layer + :term:`Container Layer` Layers that hold other layers. An example of a container layer is OpenEmbedded's `meta-openembedded <https://github.com/openembedded/meta-openembedded>`_ layer. The ``meta-openembedded`` layer contains many ``meta-*`` layers. - Cross-Development Toolchain + :term:`Cross-Development Toolchain` In general, a cross-development toolchain is a collection of software development tools and utilities that run on one architecture and allow you to develop software for a different, or targeted, architecture. These
@@ -167,7 +167,7 @@ universal, the list includes them just in case: toolchain in the :ref:`sdk-manual/sdk-manual:Yocto Project Application Development and the Extensible Software Development Kit (eSDK)` manual. - Extensible Software Development Kit (eSDK) + :term:`Extensible Software Development Kit (eSDK)` A custom SDK for application developers. This eSDK allows developers to incorporate their library and programming changes back into the image to make their code available to other application developers.
@@ -176,14 +176,14 @@ universal, the list includes them just in case: Project Application Development and the Extensible Software Development Kit (eSDK)` manual. - Image + :term:`Image` An image is an artifact of the BitBake build process given a collection of recipes and related Metadata. Images are the binary output that run on specific hardware or QEMU and are used for specific use-cases. For a list of the supported image types that the Yocto Project provides, see the ":ref:`ref-manual/ref-images:Images`" chapter. - Layer + :term:`Layer` A collection of related recipes. Layers allow you to consolidate related metadata to customize your build. Layers also isolate information used when building for multiple architectures. Layers are hierarchical in
@@ -202,7 +202,7 @@ universal, the list includes them just in case: Layers`" section in the Yocto Project Board Support Packages (BSP) Developer's Guide. - Metadata + :term:`Metadata` A key element of the Yocto Project is the Metadata that is used to construct a Linux distribution and is contained in the files that the :term:`OpenEmbedded Build System`
@@ -221,7 +221,7 @@ universal, the list includes them just in case: :yocto_git:`yocto-kernel-cache </cgit/cgit.cgi/yocto-kernel-cache>` Git repository. - OpenEmbedded-Core (OE-Core) + :term:`OpenEmbedded-Core (OE-Core)` OE-Core is metadata comprised of foundational recipes, classes, and associated files that are meant to be common among many different OpenEmbedded-derived systems,
@@ -234,7 +234,7 @@ universal, the list includes them just in case: You can see the Metadata in the ``meta`` directory of the Yocto Project :yocto_git:`Source Repositories <>`. - OpenEmbedded Build System + :term:`OpenEmbedded Build System` The build system specific to the Yocto Project. The OpenEmbedded build system is based on another project known as "Poky", which uses :term:`BitBake` as the task
@@ -250,7 +250,7 @@ universal, the list includes them just in case: Poky term. - Package + :term:`Package` In the context of the Yocto Project, this term refers to a recipe's packaged output produced by BitBake (i.e. a "baked recipe"). A package is generally the compiled binaries produced from the
@@ -269,7 +269,7 @@ universal, the list includes them just in case: :term:`PR`, :term:`PV`, and :term:`PE`). - Package Groups + :term:`Package Groups` Arbitrary groups of software Recipes. You use package groups to hold recipes that, when built, usually accomplish a single task. For example, a package group could contain the recipes
@@ -278,7 +278,7 @@ universal, the list includes them just in case: is really just another recipe. Because package group files are recipes, they end with the ``.bb`` filename extension. - Poky + :term:`Poky` Poky, which is pronounced *Pock*-ee, is a reference embedded distribution and a reference test configuration. Poky provides the following:
@@ -303,7 +303,7 @@ universal, the list includes them just in case: OpenedHand, the poky project became the basis for the Yocto Project's build system. - Recipe + :term:`Recipe` A set of instructions for building packages. A recipe describes where you get source code, which patches to apply, how to configure the source, how to compile it and so on. Recipes also
@@ -311,13 +311,13 @@ universal, the list includes them just in case: represent the logical unit of execution, the software to build, the images to build, and use the ``.bb`` file extension. - Reference Kit + :term:`Reference Kit` A working example of a system, which includes a :term:`BSP<Board Support Package (BSP)>` as well as a :term:`build host<Build Host>` and other components, that can work on specific hardware. - Source Directory + :term:`Source Directory` This term refers to the directory structure created as a result of creating a local copy of the ``poky`` Git repository ``git://git.yoctoproject.org/poky`` or expanding a
@@ -376,20 +376,20 @@ universal, the list includes them just in case: ":ref:`overview-manual/overview-manual-development-environment:repositories, tags, and branches`" section in the Yocto Project Overview and Concepts Manual. - Task + :term:`Task` A unit of execution for BitBake (e.g. :ref:`ref-tasks-compile`, :ref:`ref-tasks-fetch`, :ref:`ref-tasks-patch`, and so forth). - Toaster + :term:`Toaster` A web interface to the Yocto Project's :term:`OpenEmbedded Build System`. The interface enables you to configure and run your builds. Information about builds is collected and stored in a database. For information on Toaster, see the :doc:`../toaster-manual/toaster-manual`. - Upstream + :term:`Upstream` A reference to source code or repositories that are not local to the development system but located in a master area that is controlled by the maintainer of the source code. For example, in
Signature · 1 line
2.26.2
PATCH v2 2/8 docs: poky.yaml: use HTTPS for links
Manually tested, ran linkcheck on it too.
--- documentation/poky.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
documentation/poky.yaml +9 -9
@@ -16,17 +16,17 @@ YOCTO_POKY : "poky-&DISTRO_NAME_NO_CAP;-&POKYVERSION;" COPYRIGHT_YEAR : "2010-2020" ORGNAME : "The Yocto Project" ORGEMAIL : "[email protected]" -YOCTO_DL_URL : "http://downloads.yoctoproject.org" -YOCTO_HOME_URL : "http://www.yoctoproject.org" -YOCTO_LISTS_URL : "http://lists.yoctoproject.org" -YOCTO_BUGZILLA_URL : "http://bugzilla.yoctoproject.org" +YOCTO_DL_URL : "https://downloads.yoctoproject.org" +YOCTO_HOME_URL : "https://www.yoctoproject.org" +YOCTO_LISTS_URL : "https://lists.yoctoproject.org" +YOCTO_BUGZILLA_URL : "https://bugzilla.yoctoproject.org" YOCTO_WIKI_URL : "https://wiki.yoctoproject.org" -YOCTO_AB_URL : "http://autobuilder.yoctoproject.org" -YOCTO_GIT_URL : "http://git.yoctoproject.org" +YOCTO_AB_URL : "https://autobuilder.yoctoproject.org" +YOCTO_GIT_URL : "https://git.yoctoproject.org" YOCTO_ADTREPO_URL : "http://adtrepo.yoctoproject.org" -OE_HOME_URL : "http://www.openembedded.org" -OE_LISTS_URL : "http://lists.openembedded.org/mailman" -OE_DOCS_URL : "http://docs.openembedded.org" +OE_HOME_URL : "https://www.openembedded.org" +OE_LISTS_URL : "https://lists.openembedded.org" +OE_DOCS_URL : "https://docs.openembedded.org" OH_HOME_URL : "http://o-hand.com" BITBAKE_HOME_URL : "http://developer.berlios.de/projects/bitbake/" YOCTO_DOCS_URL : "&YOCTO_HOME_URL;/docs"
Signature · 1 line
2.26.2
PATCH v2 3/8 docs: ref-manual: indentation, links and highlights fixes
In reply to Quentin Schulz--- documentation/ref-manual/faq.rst | 24 +- documentation/ref-manual/migration-1.3.rst | 10 +- documentation/ref-manual/migration-1.4.rst | 6 +- documentation/ref-manual/migration-1.5.rst | 16 +- documentation/ref-manual/migration-1.6.rst | 21 +- documentation/ref-manual/migration-1.7.rst | 12 +- documentation/ref-manual/migration-2.0.rst | 4 +- documentation/ref-manual/migration-2.1.rst | 22 +- documentation/ref-manual/migration-2.2.rst | 15 +- documentation/ref-manual/migration-2.3.rst | 31 +- documentation/ref-manual/migration-2.5.rst | 4 +- documentation/ref-manual/migration-2.6.rst | 49 +- documentation/ref-manual/migration-3.0.rst | 3 +- documentation/ref-manual/ref-classes.rst | 143 ++-- .../ref-manual/ref-devtool-reference.rst | 26 +- documentation/ref-manual/ref-features.rst | 7 +- documentation/ref-manual/ref-images.rst | 3 +- documentation/ref-manual/ref-kickstart.rst | 13 +- documentation/ref-manual/ref-qa-checks.rst | 5 +- .../ref-manual/ref-release-process.rst | 14 +- documentation/ref-manual/ref-structure.rst | 55 +- .../ref-manual/ref-system-requirements.rst | 29 +- documentation/ref-manual/ref-tasks.rst | 63 +- documentation/ref-manual/ref-terms.rst | 21 +- documentation/ref-manual/ref-variables.rst | 724 +++++++----------- documentation/ref-manual/resources.rst | 26 +- 26 files changed, 509 insertions(+), 837 deletions(-)
documentation/ref-manual/faq.rst +13 -11
@@ -4,7 +4,7 @@ FAQ *** -**Q:** How does Poky differ from `OpenEmbedded <http://www.openembedded.org/>`__? +**Q:** How does Poky differ from :oe_home:`OpenEmbedded <>`? **A:** The term ``Poky`` refers to the specific reference build system that the Yocto Project provides. Poky is based on
@@ -21,9 +21,9 @@ Can I still use the Yocto Project? **A:** You can get the required tools on your host development system a couple different ways (i.e. building a tarball or downloading a -tarball). See the "`Required Git, tar, Python and gcc -Versions <#required-git-tar-python-and-gcc-versions>`__" section for -steps on how to update your build tools. +tarball). See the +":ref:`ref-manual/ref-system-requirements:required git, tar, python and gcc versions`" +section for steps on how to update your build tools. **Q:** How can you claim Poky / OpenEmbedded-Core is stable?
@@ -370,7 +370,7 @@ redirect requests through proxy servers. **A:** Yes - you can easily do this. When you use BitBake to build an image, all the build output goes into the directory created when you run the build environment setup script (i.e. -````` <#structure-core-script>`__). By default, this :term:`Build Directory` +:ref:`structure-core-script`). By default, this :term:`Build Directory` is named ``build`` but can be named anything you want.
@@ -414,7 +414,14 @@ that program is never installed directly to the build machine's root file system. Consequently, the build system uses paths within the Build Directory for ``DESTDIR``, ``bindir`` and related variables. To better understand this, consider the following two paths where the first is -relatively normal and the second is not: :: +relatively normal and the second is not: + +.. note:: + + Due to these lengthy examples, the paths are artificially broken + across lines for readability. + +:: /home/maxtothemax/poky-bootchart2/build/tmp/work/i586-poky-linux/zlib/ 1.2.8-r0/sysroot-destdir/usr/bin
@@ -423,11 +430,6 @@ relatively normal and the second is not: :: zlib-native/1.2.8-r0/sysroot-destdir/home/maxtothemax/poky-bootchart2/ build/tmp/sysroots/x86_64-linux/usr/bin -.. note:: - - Due to these lengthy examples, the paths are artificially broken - across lines for readability. - Even if the paths look unusual, they both are correct - the first for a target and the second for a native recipe. These paths are a consequence of the ``DESTDIR``
documentation/ref-manual/migration-1.3.rst +5 -5
@@ -121,11 +121,11 @@ further details. IMAGE_FEATURES ~~~~~~~~~~~~~~ -Image recipes that previously included "apps-console-core" in -:term:`IMAGE_FEATURES` should now include "splash" +Image recipes that previously included ``apps-console-core`` in +:term:`IMAGE_FEATURES` should now include ``splash`` instead to enable the boot-up splash screen. Retaining -"apps-console-core" will still include the splash screen but generates a -warning. The "apps-x11-core" and "apps-x11-games" ``IMAGE_FEATURES`` +``apps-console-core`` will still include the splash screen but generates a +warning. The ``apps-x11-core`` and ``apps-x11-games`` ``IMAGE_FEATURES`` features have been removed. .. _migration-1.3-removed-recipes:
@@ -173,7 +173,7 @@ the OpenEmbedded community layers such as ``meta-oe`` and ``meta-gnome``. For the remainder, you can now find them in the ``meta-extras`` repository, which is in the :yocto_git:`Source Repositories <>` at -http://git.yoctoproject.org/cgit/cgit.cgi/meta-extras/. +:yocto_git:`/cgit/cgit.cgi/meta-extras/`. .. _1.3-linux-kernel-naming:
documentation/ref-manual/migration-1.4.rst +3 -3
@@ -61,7 +61,7 @@ Differences include the following: the :term:`MACHINEOVERRIDES` or :term:`DISTROOVERRIDES` variables, as appropriate. For more related changes, see the - "`Variables <#migration-1.4-variables>`__" section. + ":ref:`ref-manual/migration-1.4:variables`" section. .. _migration-1.4-proxies-and-fetching-source:
@@ -124,8 +124,8 @@ The following variables have changed: :term:`SRC_URI`. If you have a recipe that relied upon these directories, which would be unusual, then you will need to add the appropriate paths within the recipe or, alternatively, rearrange - the files. The most common locations are still covered by ``${BP}``, - ``${BPN}``, and "files", which all remain in the default value of + the files. The most common locations are still covered by ``${``\ :term:`BP`\ ``}``, + ``${``\ :term:`BPN`\ ``}``, and "files", which all remain in the default value of :term:`FILESPATH`. .. _migration-target-package-management-with-rpm:
documentation/ref-manual/migration-1.5.rst +7 -9
@@ -25,8 +25,8 @@ If the Linux distribution you are using on your build host does not provide packages for these, you can install and use the Buildtools tarball, which provides an SDK-like environment containing them. -For more information on this requirement, see the "`Required Git, tar, -Python and gcc Versions <#required-git-tar-python-and-gcc-versions>`__" +For more information on this requirement, see the +":ref:`ref-manual/ref-system-requirements:required git, tar, python and gcc versions`" section. .. _migration-1.5-atom-pc-bsp:
@@ -41,9 +41,8 @@ all x86 hardware, but it will run on a wider range of systems than the .. note:: - Additionally, a - genericx86-64 - BSP has been added for 64-bit Atom systems. + Additionally, a ``genericx86-64`` BSP has been added for 64-bit Atom + systems. .. _migration-1.5-bitbake:
@@ -96,7 +95,7 @@ The following changes have been made to the package QA checks: this file within :ref:`ref-tasks-install` if "make install" is installing it. -- If you are using the buildhistory class, the check for the package +- If you are using the ``buildhistory`` class, the check for the package version going backwards is now controlled using a standard QA check. Thus, if you have customized your ``ERROR_QA`` or ``WARN_QA`` values and still wish to have this check performed, you should add
@@ -299,7 +298,7 @@ Removed and Renamed Recipes - ``libtool-nativesdk`` has been renamed to ``nativesdk-libtool``. - ``tinylogin`` has been removed. It has been replaced by a suid - portion of Busybox. See the "`BusyBox <#migration-1.5-busybox>`__" + portion of Busybox. See the "`BusyBox <#busybox>`__" section for more information. - ``external-python-tarball`` has been renamed to
@@ -345,8 +344,7 @@ Following is a list of short entries describing other changes: - ``libpam``: Deny all services for the ``OTHER`` entries. - ``image.bbclass``: Move ``runtime_mapping_rename`` to avoid conflict - with ``multilib``. See - `YOCTO #4993 <https://bugzilla.yoctoproject.org/show_bug.cgi?id=4993>`_ + with ``multilib``. See :yocto_bugs:`YOCTO #4993 </show_bug.cgi?id=4993>` in Bugzilla for more information. - ``linux-dtb``: Use kernel build system to generate the ``dtb`` files.
documentation/ref-manual/migration-1.6.rst +10 -11
@@ -53,9 +53,12 @@ Matching Branch Requirement for Git Fetching When fetching source from a Git repository using :term:`SRC_URI`, BitBake will now validate the :term:`SRCREV` value against the branch. You can specify -the branch using the following form: SRC_URI = -"git://server.name/repository;branch=branchname" If you do not specify a -branch, BitBake looks in the default "master" branch. +the branch using the following form: +:: + + SRC_URI = "git://server.name/repository;branch=branchname" + +If you do not specify a branch, BitBake looks in the default "master" branch. Alternatively, if you need to bypass this check (e.g. if you are fetching a revision corresponding to a tag that is not on any branch),
@@ -123,8 +126,7 @@ Changes to Variables -------------------- The following variables have changed. For information on the -OpenEmbedded build system variables, see the "`Variables -Glossary <#ref-variables-glos>`__" Chapter. +OpenEmbedded build system variables, see the ":doc:`ref-variables`" Chapter. .. _migration-1.6-variable-changes-TMPDIR:
@@ -254,11 +256,8 @@ default. The following additional lines are needed in your .. note:: - The default - local.conf - contains these statements. Consequently, if you are building a - headless system and using a default - local.conf + The default ``local.conf`` contains these statements. Consequently, if you + are building a headless system and using a default ``local.conf`` file, you will need comment these two lines out. .. _migration-1.6-core-image-basic:
@@ -412,6 +411,6 @@ The previous reference BSPs for the ``beagleboard`` and ``routerstationpro`` machines are still available in a new ``meta-yocto-bsp-old`` layer in the :yocto_git:`Source Repositories <>` at -http://git.yoctoproject.org/cgit/cgit.cgi/meta-yocto-bsp-old/. +:yocto_git:`/cgit/cgit.cgi/meta-yocto-bsp-old/`.
documentation/ref-manual/migration-1.7.rst +5 -7
@@ -31,9 +31,9 @@ version required on the build host is now 1.7.8 because the ``--list`` option is now required by BitBake's Git fetcher. As always, if your host distribution does not provide a version of Git that meets this requirement, you can use the -``buildtools-tarball`` that does. See the "`Required Git, tar, Python -and gcc Versions <#required-git-tar-python-and-gcc-versions>`__" section -for more information. +``buildtools-tarball`` that does. See the +":ref:`ref-manual/ref-system-requirements:required git, tar, python and gcc versions`" +section for more information. .. _migration-1.7-autotools-class-changes:
@@ -157,7 +157,7 @@ The following changes have occurred to the QA check process: added in order to verify that file dependencies are satisfied (e.g. package contains a script requiring ``/bin/bash``) and build-time dependencies are declared, respectively. For more information, please - see the "`QA Error and Warning Messages <#ref-qa-checks>`__" chapter. + see the ":doc:`ref-qa-checks`" chapter. - Package QA checks are now performed during a new :ref:`ref-tasks-package_qa` task rather than being
@@ -202,9 +202,7 @@ The following recipes have been removed: for version 3.17 has been added. - ``eglibc`` has been removed in favor of ``glibc``. See the - "```eglibc 2.19`` Replaced with - ``glibc 2.20`` <#migration-1.7-glibc-replaces-eglibc>`__" section for - more information. + ":ref:`migration-1.7-glibc-replaces-eglibc`" section for more information. .. _migration-1.7-miscellaneous-changes:
documentation/ref-manual/migration-2.0.rst +2 -2
@@ -96,8 +96,8 @@ changes in behavior exist: $ bitbake -e -- ``d.delVar('``\ VARNAME\ ``')`` and - ``d.setVar('``\ VARNAME\ ``', None)`` result in the variable and all +- ``d.delVar('VARNAME')`` and + ``d.setVar('VARNAME', None)`` result in the variable and all of its overrides being cleared out. Before the change, only the non-overridden values were cleared.
documentation/ref-manual/migration-2.1.rst +12 -10
@@ -9,7 +9,7 @@ Project 2.1 Release from the prior release. Variable Expansion in Python Functions -------------------------------------- -Variable expressions, such as ``${``\ VARNAME\ ``}`` no longer expand +Variable expressions, such as ``${VARNAME}`` no longer expand automatically within Python functions. Suppressing expansion was done to allow Python functions to construct shell scripts or other code for situations in which you do not want such expressions expanded. For any
@@ -125,7 +125,7 @@ Image Generation is Now Split Out from Filesystem Generation Previously, for image recipes the :ref:`ref-tasks-rootfs` task assembled the filesystem and then from that filesystem generated images. With this Yocto Project release, image generation is split into -separate ```do_image_*`` <#ref-tasks-image>`__ tasks for clarity both in +separate :ref:`ref-tasks-image` tasks for clarity both in operation and in the code. For most cases, this change does not present any problems. However, if
@@ -133,7 +133,7 @@ you have made customizations that directly modify the ``do_rootfs`` task or that mention ``do_rootfs``, you might need to update those changes. In particular, if you had added any tasks after ``do_rootfs``, you should make edits so that those tasks are after the -```do_image_complete`` <#ref-tasks-image-complete>`__ task rather than +:ref:`ref-tasks-image-complete` task rather than after ``do_rootfs`` so that the your added tasks run at the correct time.
@@ -180,7 +180,7 @@ The following recipes have been removed in the 2.1 release: - ``python-pygtk``: Recipe became obsolete. - ``adt-installer``: Recipe became obsolete. See the "`ADT - Removed <#migration-2.1-adt-removed>`__" section for more + Removed <#adt-removed>`__" section for more information. .. _migration-2.1-class-changes:
@@ -287,7 +287,9 @@ The following changes have been made for the Poky distribution: option specified on the configure command line either because it is not a supported option for the configure script or because static libraries are needed should set the following variable: - DISABLE_STATIC = "" + :: + + DISABLE_STATIC = "" - The separate ``poky-tiny`` distribution now uses the musl C library instead of a heavily pared down ``glibc``. Using musl results in a
@@ -357,10 +359,9 @@ These additional changes exist: - The minimum Git version has been increased to 1.8.3.1. If your host distribution does not provide a sufficiently recent version, you can - install the buildtools, which will provide it. See the "`Required - Git, tar, Python and gcc - Versions <#required-git-tar-python-and-gcc-versions>`__" section for - more information on the buildtools tarball. + install the buildtools, which will provide it. See the + :ref:`ref-manual/ref-system-requirements:required git, tar, python and gcc versions` + section for more information on the buildtools tarball. - The buggy and incomplete support for the RPM version 4 package manager has been removed. The well-tested and maintained support for
@@ -376,8 +377,9 @@ These additional changes exist: base-passwd shadow update-alternatives + run-postinsts - run-postinsts With the Yocto Project 2.1 release, these packages are + With the Yocto Project 2.1 release, these packages are only removed if "read-only-rootfs" is in ``IMAGE_FEATURES``, since they might still be needed for a read-write image even in the absence of a package manager (e.g. if users need to be added, modified, or
documentation/ref-manual/migration-2.2.rst +7 -8
@@ -16,8 +16,7 @@ the minimum kernel version is 3.19. .. note:: - For x86 and x86_64, you can reset - OLDEST_KERNEL + For x86 and x86_64, you can reset :term:`OLDEST_KERNEL` to anything down to 2.6.32 if desired. .. _migration-2.2-staging-directories-in-sysroot-simplified:
@@ -79,7 +78,9 @@ particular areas of interest: - the syntax for octal values changed - - the ``iter*()`` functions changed name \* iterators now return views, not lists + - the ``iter*()`` functions changed name + + - iterators now return views, not lists - changed names for Python modules
@@ -224,9 +225,7 @@ follows and run ``runqemu``: .. note:: - For command-line syntax, use - runqemu help - . + For command-line syntax, use ``runqemu help``. ::
@@ -369,7 +368,7 @@ The following recipes have been removed: - ``sato-icon-theme``: Became obsolete. - ``swabber-native``: Swabber has been removed. See the `entry on - Swabber <#migration-2.2-swabber-has-been-removed>`__. + Swabber <#swabber-has-been-removed>`__. - ``tslib``: No longer needed and has been moved to ``meta-oe``.
@@ -395,7 +394,7 @@ The following classes have been removed: - ``sip``: Mostly unused. - ``swabber``: See the `entry on - Swabber <#migration-2.2-swabber-has-been-removed>`__. + Swabber <#swabber-has-been-removed>`__. .. _migration-2.2-minor-packaging-changes:
documentation/ref-manual/migration-2.3.rst +12 -19
@@ -76,9 +76,7 @@ Consider the following: .. note:: You can find more information on how recipe-specific sysroots work in - the " - staging.bbclass - " section. + the ":ref:`ref-classes-staging`" section. .. _migration-2.3-path-variable:
@@ -104,9 +102,8 @@ value. .. note:: PATH - is not sanitized in the same way within - devshell - . If it were, you would have difficulty running host tools for + is not sanitized in the same way within ``devshell``. + If it were, you would have difficulty running host tools for development and debugging within the shell. .. _migration-2.3-scripts:
@@ -240,10 +237,8 @@ to substitute a GPLv2 version of a GPLv3 recipe, then you must add the .. note:: - You can find - meta-gplv2 - layer in the OpenEmbedded layer index at - . + You can ``find meta-gplv2`` layer in the OpenEmbedded layer index at + https://layers.openembedded.org/layerindex/branch/master/layer/meta-gplv2/. These relocated GPLv2 recipes do not receive the same level of maintenance as other core recipes. The recipes do not get security fixes
@@ -316,8 +311,7 @@ The following package management changes took place: - Signing of remote package feeds using ``PACKAGE_FEED_SIGN`` is not currently supported. This issue will be fully addressed in a future - Yocto Project release. See `defect - 11209 <https://bugzilla.yoctoproject.org/show_bug.cgi?id=11209>`__ + Yocto Project release. See :yocto_bugs:`defect 11209 </show_bug.cgi?id=11209>` for more information on a solution to package feed signing with RPM in the Yocto Project 2.3 release.
@@ -329,8 +323,7 @@ The following package management changes took place: .. note:: For further details on this change, see the - commit message - . + :yocto_git:`commit message </cgit/cgit.cgi/poky/commit/?id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81>`. .. _migration-2.3-removed-recipes:
@@ -372,9 +365,9 @@ The following changes have been made to Wic: .. note:: - For more information on Wic, see the " - Creating Partitioned Images Using Wic - " section in the Yocto Project Development Tasks Manual. + For more information on Wic, see the + ":ref:`dev-manual/dev-manual-common-tasks:creating partitioned images using wic`" + section in the Yocto Project Development Tasks Manual. - *Default Output Directory Changed:* Wic's default output directory is now the current directory by default instead of the unusual
@@ -410,8 +403,8 @@ The following QA checks have changed: warning, you need to address missing runtime dependencies. For additional information, see the - :ref:`insane <ref-classes-insane>` class and the "`Errors and - Warnings <#qa-errors-and-warnings>`__" section. + :ref:`insane <ref-classes-insane>` class and the + ":ref:`ref-manual/ref-qa-checks:errors and warnings`" section. .. _migration-2.3-miscellaneous-changes:
documentation/ref-manual/migration-2.5.rst +2 -2
@@ -179,8 +179,8 @@ or :: The earlier build-time provides behavior was a quirk of the way the Python manifest file was created. For more information on this -change please see `this -commit <http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8d94b9db221d1def42f091b991903faa2d1651ce>`__. +change please see :yocto_git:`this commit +</cgit/cgit.cgi/poky/commit/?id=8d94b9db221d1def42f091b991903faa2d1651ce>`. .. _migration-2.5-miscellaneous-changes:
documentation/ref-manual/migration-2.6.rst +15 -34
87 lines not on this page · raw message
documentation/ref-manual/migration-3.0.rst +1 -2
@@ -197,8 +197,7 @@ The following BitBake changes have occurred. - The arguments passed to functions used with :term:`bitbake:BB_HASHCHECK_FUNCTION` have changed. If you are using your own custom hash check function, - see - http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=40a5e193c4ba45c928fccd899415ea56b5417725 + see :yocto_git:`/cgit/cgit.cgi/poky/commit/?id=40a5e193c4ba45c928fccd899415ea56b5417725` for details. - Task specifications in ``BB_TASKDEPDATA`` and class implementations
documentation/ref-manual/ref-classes.rst +45 -98
273 lines not on this page · raw message
documentation/ref-manual/ref-devtool-reference.rst +16 -10
@@ -131,7 +131,7 @@ The following figure shows the workspace structure: :align: center :scale: 70% -:: +.. code-block:: none attic - A directory created if devtool believes it must preserve anything when you run "devtool reset". For example, if you
@@ -223,7 +223,7 @@ specify these options when using the ``devtool add`` command: .. note:: If you prefer to use the latest revision every time the recipe is - built, use the options --autorev or -a. + built, use the options ``--autorev`` or ``-a``. .. _devtool-extracting-the-source-for-an-existing-recipe:
@@ -261,7 +261,7 @@ Modifying an Existing Recipe Use the ``devtool modify`` command to begin modifying the source of an existing recipe. This command is very similar to the -```add`` <#devtool-adding-a-new-recipe-to-the-workspace>`__ command +:ref:`add <devtool-adding-a-new-recipe-to-the-workspace>` command except that it does not physically create the recipe in the workspace layer because the recipe already exists in an another layer.
@@ -303,7 +303,7 @@ Updating a Recipe Use the ``devtool update-recipe`` command to update your recipe with patches that reflect changes you make to the source files. For example, if you know you are going to work on some code, you could first use the -```devtool modify`` <#devtool-modifying-a-recipe>`__ command to extract +:ref:`devtool modify <devtool-modifying-a-recipe>` command to extract the code and set up the workspace. After which, you could modify, compile, and test the code.
@@ -386,15 +386,21 @@ satisfied. .. note:: When a reason for not upgrading displays, the reason is usually - written into the recipe using the RECIPE_NO_UPDATE_REASON - variable. See the base-passwd.bb recipe for an example. + written into the recipe using the ``RECIPE_NO_UPDATE_REASON`` + variable. See the + :yocto_git:`base-passwd.bb </cgit/cgit.cgi/poky/tree/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb>` + recipe for an example. :: - $ devtool check-upgrade-status ... + $ devtool check-upgrade-status + ... NOTE: acpid 2.0.30 2.0.31 Ross Burton <[email protected]> NOTE: u-boot-fw-utils 2018.11 2019.01 Marek Vasut <[email protected]> d3689267f92c5956e09cc7d1baa4700141662bff - NOTE: u-boot-tools 2018.11 2019.01 Marek Vasut <[email protected]> d3689267f92c5956e09cc7d1baa4700141662bff . . . + NOTE: u-boot-tools 2018.11 2019.01 Marek Vasut <[email protected]> d3689267f92c5956e09cc7d1baa4700141662bff + . + . + . NOTE: base-passwd 3.5.29 3.5.45 Anuj Mittal <[email protected]> cannot be updated due to: Version 3.5.38 requires cdebconf for update-passwd utility NOTE: busybox 1.29.2 1.30.0 Andrej Valek <[email protected]> NOTE: dbus-test 1.12.10 1.12.12 Chen Qi <[email protected]>
@@ -607,8 +613,8 @@ Following 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) + $ devtool status + mtr:/home/scottrif/poky/build/workspace/sources/mtr (/home/scottrif/poky/build/workspace/recipes/mtr/mtr_0.86.bb) $ .. _devtool-search-for-available-target-recipes:
documentation/ref-manual/ref-features.rst +2 -5
@@ -229,11 +229,8 @@ The following image features are available for all images: .. note:: - To make the - /var/log - directory on the target persistent, use the - VOLATILE_LOG_DIR - variable by setting it to "no". + To make the ``/var/log`` directory on the target persistent, use the + :term:`VOLATILE_LOG_DIR` variable by setting it to "no". - *ptest-pkgs:* Installs ptest packages for all ptest-enabled recipes.
documentation/ref-manual/ref-images.rst +1 -2
@@ -16,8 +16,7 @@ image you want. the GNU Affero General Public License Version 3 (AGPL-3.0) components is only supported for minimal and base images. Furthermore, if you are going to build an image using non-GPLv3 and similarly licensed - components, you must make the following changes in the - local.conf + components, you must make the following changes in the ``local.conf`` file before using the BitBake command to build the minimal or base image: ::
documentation/ref-manual/ref-kickstart.rst +6 -7
@@ -55,15 +55,14 @@ must also provide one of the ``--ondrive``, ``--ondisk``, or .. note:: The mount program must understand the PARTUUID syntax you use with - --use-uuid - and non-root - mountpoint - , including swap. The busybox versions of these application are - currently excluded. + ``--use-uuid`` and non-root *mountpoint*, including swap. The busybox + versions of these application are currently excluded. Here is an example that uses "/" as the mountpoint. The command uses -``--ondisk`` to force the partition onto the ``sdb`` disk: part / ---source rootfs --ondisk sdb --fstype=ext3 --label platform --align 1024 +``--ondisk`` to force the partition onto the ``sdb`` disk: +:: + + part / --source rootfs --ondisk sdb --fstype=ext3 --label platform --align 1024 Here is a list that describes other supported options you can use with the ``part`` and ``partition`` commands:
documentation/ref-manual/ref-qa-checks.rst +2 -3
@@ -454,9 +454,8 @@ Errors and Warnings Disabling stripping here does not mean that the final packaged binaries will be unstripped. Once the OpenEmbedded build system - splits out debug symbols to the - -dbg - package, it will then strip the symbols from the binaries. + splits out debug symbols to the ``-dbg`` package, it will then + strip the symbols from the binaries.
documentation/ref-manual/ref-release-process.rst +6 -8
@@ -64,7 +64,7 @@ codename are likely to be compatible and thus work together. Releases are given a nominal release version as well but the codename is used in repositories for this reason. You can find information on Yocto Project releases and codenames at -https://wiki.yoctoproject.org/wiki/Releases. +:yocto_wiki:`/wiki/Releases`. Stable Release Process ======================
@@ -94,7 +94,7 @@ Community LTS trees and branches exist where community members share patches for older releases. However, these types of patches do not go through the same release process as do point releases. You can find more information about stable branch maintenance at -https://wiki.yoctoproject.org/wiki/Stable_branch_maintenance. +:yocto_wiki:`/wiki/Stable_branch_maintenance`. Testing and Quality Assurance =============================
@@ -145,18 +145,16 @@ consists of the following pieces: .. note:: - Running - oe-selftest - requires host packages beyond the "Essential" grouping. See the " - Required Packages for the Build Host - " section for more information. + Running ``oe-selftest`` requires host packages beyond the "Essential" + grouping. See the :ref:`ref-manual/ref-system-requirements:required packages for the build host` + section for more information. Originally, much of this testing was done manually. However, significant effort has been made to automate the tests so that more people can use them and the Yocto Project development team can run them faster and more efficiently. -The Yocto Project's main Autobuilder (https://autobuilder.yoctoproject.org/) +The Yocto Project's main Autobuilder (&YOCTO_AB_URL;) publicly tests each Yocto Project release's code in the :term:`OpenEmbedded-Core (OE-Core)`, Poky, and BitBake repositories. The testing occurs for both the current state of the "master" branch and also for
documentation/ref-manual/ref-structure.rst +20 -35
93 lines not on this page · raw message
documentation/ref-manual/ref-system-requirements.rst +13 -16
@@ -27,9 +27,7 @@ and conceptual information in the :doc:`../overview-manual/overview-manual`. .. note:: For more information about the Yocto Project Documentation set, see - the " - Links and Related Documentation - " section. + the :ref:`ref-manual/resources:links and related documentation` section. .. _detailed-supported-distros:
@@ -91,8 +89,8 @@ distributions: compatible but not officially supported nor validated with WSLv2, if you still decide to use WSL please upgrade to WSLv2. - - If you encounter problems, please go to `Yocto Project - Bugzilla <http://bugzilla.yoctoproject.org>`__ and submit a bug. We are + - If you encounter problems, please go to :yocto_bugs:`Yocto Project + Bugzilla <>` and submit a bug. We are interested in hearing about your experience. For information on how to submit a bug, see the Yocto Project :yocto_wiki:`Bugzilla wiki page </wiki/Bugzilla_Configuration_and_Bug_Tracking>`
@@ -177,8 +175,11 @@ supported openSUSE Linux distribution: $ sudo zypper install &OPENSUSE_HOST_PACKAGES_ESSENTIAL; - *Documentation:* Packages needed if you are going to build out the - Yocto Project documentation manuals: $ sudo zypper install dblatex - xmlto + Yocto Project documentation manuals: + :: + + $ sudo zypper install dblatex xmlto + CentOS-7 Packages -----------------
@@ -279,7 +280,7 @@ installer and automatically installs the tools for you: $ cd poky $ scripts/install-buildtools --without-extended-buildtools \ - --base-url https://downloads.yoctoproject.org/releases/yocto \ + --base-url &YOCTO_DL_URL;/releases/yocto \ --release yocto-&DISTRO; \ --installer-version &DISTRO;
@@ -340,7 +341,7 @@ of the two methods by which you can get these tools: During execution, a prompt appears that allows you to choose the installation directory. For example, you could choose the following: - /home/your-username/buildtools + ``/home/your-username/buildtools`` 3. Source the tools environment setup script by using a command like the following:
@@ -388,12 +389,8 @@ installer: .. note:: - The - SDKMACHINE - variable in your - local.conf - file determines whether you build tools for a 32-bit or 64-bit - system. + The :term:`SDKMACHINE` variable in your ``local.conf`` file determines + whether you build tools for a 32-bit or 64-bit system. Once the build completes, you can find the ``.sh`` file that installs the tools in the ``tmp/deploy/sdk`` subdirectory of the
@@ -417,7 +414,7 @@ installer: During execution, a prompt appears that allows you to choose the installation directory. For example, you could choose the following: - /home/your_username/buildtools + ``/home/your_username/buildtools`` 5. Source the tools environment setup script by using a command like the following:
documentation/ref-manual/ref-tasks.rst +23 -40
111 lines not on this page · raw message
documentation/ref-manual/ref-terms.rst +9 -12
@@ -101,12 +101,12 @@ universal, the list includes them just in case: .. note:: - By default, the Build Directory contains :term:`TMPDIR` , which is a - temporary directory the build system uses for its work. TMPDIR cannot + By default, the Build Directory contains :term:`TMPDIR`, which is a + temporary directory the build system uses for its work. ``TMPDIR`` cannot be under NFS. Thus, by default, the Build Directory cannot be under NFS. However, if you need the Build Directory to be under NFS, you can - set this up by setting TMPDIR in your local.conf file to use a local - drive. Doing so effectively separates TMPDIR from TOPDIR , which is the + set this up by setting ``TMPDIR`` in your ``local.conf`` file to use a local + drive. Doing so effectively separates ``TMPDIR`` from :term:`TOPDIR`, which is the Build Directory. :term:`Build Host`
@@ -232,7 +232,7 @@ universal, the list includes them just in case: core set of recipes. You can see the Metadata in the ``meta`` directory of the Yocto - Project :yocto_git:`Source Repositories <>`. + Project :yocto_git:`Source Repositories </cgit/cgit.cgi/poky>`. :term:`OpenEmbedded Build System` The build system specific to the Yocto
@@ -246,9 +246,7 @@ universal, the list includes them just in case: .. note:: - For some historical information about Poky, see the - Poky - term. + For some historical information about Poky, see the :term:`Poky` term. :term:`Package` In the context of the Yocto Project, this term refers to a
@@ -258,10 +256,9 @@ universal, the list includes them just in case: It is worth noting that the term "package" can, in general, have subtle meanings. For example, the packages referred to in the - "`Required Packages for the Build - Host <#required-packages-for-the-build-host>`__" section are compiled - binaries that, when installed, add functionality to your Linux - distribution. + ":ref:`ref-manual/ref-system-requirements:required packages for the build host`" + section are compiled binaries that, when installed, add functionality to + your Linux distribution. Another point worth noting is that historically within the Yocto Project, recipes were referred to as packages - thus, the existence
documentation/ref-manual/ref-variables.rst +259 -465
1,379 lines not on this page · raw message
documentation/ref-manual/resources.rst +13 -13
@@ -65,27 +65,27 @@ and announcements. To subscribe to one of the following mailing lists, click on the appropriate URL in the following list and follow the instructions: -- https://lists.yoctoproject.org/g/yocto - General Yocto Project +- :yocto_lists:`/g/yocto` - General Yocto Project discussion mailing list. -- https://lists.openembedded.org/g/openembedded-core - Discussion mailing +- :oe_lists:`/g/openembedded-core` - Discussion mailing list about OpenEmbedded-Core (the core metadata). -- https://lists.openembedded.org/g/openembedded-devel - Discussion +- :oe_lists:`/g/openembedded-devel` - Discussion mailing list about OpenEmbedded. -- https://lists.openembedded.org/g/bitbake-devel - Discussion mailing +- :oe_lists:`/g/bitbake-devel` - Discussion mailing list about the :term:`BitBake` build tool. -- https://lists.yoctoproject.org/g/poky - Discussion mailing list - about `Poky <#poky>`__. +- :yocto_lists:`/g/poky` - Discussion mailing list + about :term:`Poky`. -- https://lists.yoctoproject.org/g/yocto-announce - Mailing list to +- :yocto_lists:`/g/yocto-announce` - Mailing list to receive official Yocto Project release and milestone announcements. For more Yocto Project-related mailing lists, see the -Yocto Project Website -. +:yocto_home:`Yocto Project Website <>`. + .. _resources-irc: Internet Relay Chat (IRC)
@@ -113,12 +113,12 @@ Here is a list of resources you might find helpful: planning, release engineering, QA & automation, a reference site map, and other resources related to the Yocto Project. -- `OpenEmbedded <http://www.openembedded.org/>`__\ *:* The build system used by the +- :oe_home:`OpenEmbedded <>`\ *:* The build system used by the Yocto Project. This project is the upstream, generic, embedded distribution from which the Yocto Project derives its build system (Poky) and to which it contributes. -- `BitBake <http://www.openembedded.org/wiki/BitBake>`__\ *:* The tool +- :oe_home:`BitBake </wiki/BitBake>`\ *:* The tool used to process metadata. - :doc:`BitBake User Manual <bitbake:index>`\ *:* A comprehensive
@@ -155,7 +155,7 @@ Here is a list of resources you might find helpful: manual provides reference material such as variable, task, and class descriptions. -- `Yocto Project Mega-Manual <https://docs.yoctoproject.org/singleindex.html>`__\ *:* This manual +- :yocto_docs:`Yocto Project Mega-Manual </singleindex.html>`\ *:* This manual is simply a single HTML file comprised of the bulk of the Yocto Project manuals. The Mega-Manual primarily exists as a vehicle by which you can easily search for phrases and terms used in the Yocto
@@ -180,7 +180,7 @@ Here is a list of resources you might find helpful: the Yocto Project website and click on the "RELEASE INFORMATION" link for the appropriate release. -- `Bugzilla <https://bugzilla.yoctoproject.org>`__\ *:* The bug tracking application +- :yocto_bugs:`Bugzilla <>`\ *:* The bug tracking application the Yocto Project uses. If you find problems with the Yocto Project, you should report them using this application.
Signature · 1 line
2.26.2
PATCH v2 4/8 docs: remove OE_INIT_FILE variable
In reply to Quentin SchulzThere's probably no need for such a variable (the name of the script is unlikely to change any time soon) and not all instances of oe-init-build-env were actually using this variable.
For consistency sake, let's just remove the OE_INIT_FILE variable.
---
added in v2
documentation/adt-manual/adt-prepare.rst | 2 +- documentation/brief-yoctoprojectqs/brief-yoctoprojectqs.rst | 2 +- documentation/bsp-guide/bsp.rst | 2 +- documentation/poky.yaml | 1 - documentation/ref-manual/ref-structure.rst | 5 ++--- 5 files changed, 5 insertions(+), 7 deletions(-)
documentation/adt-manual/adt-prepare.rst +1 -1
@@ -107,7 +107,7 @@ the tarball using either of these methods: configuration information. $ cd ~ $ git clone git://git.yoctoproject.org/poky $ cd poky $ git - checkout -b DISTRO_NAME origin/DISTRO_NAME $ source OE_INIT_FILE $ + checkout -b DISTRO_NAME origin/DISTRO_NAME $ source oe-init-build-env $ bitbake adt-installer Configuring and Running the ADT Installer Script
documentation/brief-yoctoprojectqs/brief-yoctoprojectqs.rst +1 -1
@@ -177,7 +177,7 @@ an entire Linux distribution, including the toolchain, from source. .. code-block:: shell $ cd ~/poky - $ source &OE_INIT_FILE; + $ source oe-init-build-env You had no conf/local.conf file. This configuration file has therefore been created for you with some default values. You may wish to edit it to, for example, select a different MACHINE (target hardware). See conf/local.conf
documentation/bsp-guide/bsp.rst +1 -1
@@ -233,7 +233,7 @@ section. setup script to define the OpenEmbedded build environment on your build host. :: - $ source &OE_INIT_FILE; + $ 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 :term:`Source Directory`. After
documentation/poky.yaml +0 -1
@@ -58,7 +58,6 @@ YOCTO_DOCS_BRIEF_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/brief-yoctoprojectq YOCTO_ADTPATH_DIR : "/opt/poky/&DISTRO;" YOCTO_POKY_TARBALL : "&YOCTO_POKY;.tar.bz2" OE_INIT_PATH : "&YOCTO_POKY;/oe-init-build-env" -OE_INIT_FILE : "oe-init-build-env" UBUNTU_HOST_PACKAGES_ESSENTIAL : "gawk wget git-core diffstat unzip texinfo gcc-multilib \ build-essential chrpath socat cpio python3 python3-pip python3-pexpect \ xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
documentation/ref-manual/ref-structure.rst +2 -3
@@ -188,7 +188,7 @@ your choice. For example, the following command creates a Build Directory named ``mybuilds/`` that is outside of the :term:`Source Directory`: :: - $ source OE_INIT_FILE ~/mybuilds + $ source oe-init-build-env ~/mybuilds The OpenEmbedded build system uses the template configuration files, which are found by default in the ``meta-poky/conf/`` directory in the Source
@@ -200,8 +200,7 @@ information. .. note:: The OpenEmbedded build system does not support file or directory - names that contain spaces. If you attempt to run the - OE_INIT_FILE + names that contain spaces. If you attempt to run the ``oe-init-build-env`` script from a Source Directory that contains spaces in either the filenames or directory names, the script returns an error indicating no such file or directory. Be sure to use a Source Directory free of
Signature · 1 line
2.26.2
Re: [PATCH v2 4/8] docs: remove OE_INIT_FILE variable
Quoted 9 lines · Quentin Schulz
There's probably no need for such a variable (the name of the script is unlikely to change any time soon) and not all instances of oe-init-build-env were actually using this variable.
For consistency sake, let's just remove the
OE_INIT_FILEvariable.Suggested-by Nicolas Dechesne <[email protected]>Signed-off-by Quentin Schulz <[email protected]>
Quoted 88 lines
---
added in v2
documentation/adt-manual/adt-prepare.rst | 2 +- documentation/brief-yoctoprojectqs/brief-yoctoprojectqs.rst | 2 +- documentation/bsp-guide/bsp.rst | 2 +- documentation/poky.yaml | 1 - documentation/ref-manual/ref-structure.rst | 5 ++--- 5 files changed, 5 insertions(+), 7 deletions(-)documentation/adt-manual/adt-prepare.rst +1
-1@@ -107,7 +107,7 @@ the tarball using either of these methods: configuration information. $ cd ~ $ git clone git://git.yoctoproject.org/poky $ cd poky $ git - checkout -b DISTRO_NAME origin/DISTRO_NAME $ source OE_INIT_FILE $ + checkout -b DISTRO_NAME origin/DISTRO_NAME $ source oe-init-build-env $ bitbake adt-installer Configuring and Running the ADT Installer Scriptdocumentation/brief-yoctoprojectqs/brief-yoctoprojectqs.rst +1
-1@@ -177,7 +177,7 @@ an entire Linux distribution, including the toolchain, from source. .. code-block:: shell $ cd ~/poky - $ source &OE_INIT_FILE; + $ source oe-init-build-env You had no conf/local.conf file. This configuration file has therefore been created for you with some default values. You may wish to edit it to, for example, select a different MACHINE (target hardware). See conf/local.confdocumentation/bsp-guide/bsp.rst +1
-1@@ -233,7 +233,7 @@ section. setup script to define the OpenEmbedded build environment on your build host. :: - $ source &OE_INIT_FILE; + $ 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 :term:`Source Directory`. Afterdocumentation/poky.yaml +0
-1@@ -58,7 +58,6 @@ YOCTO_DOCS_BRIEF_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/brief-yoctoprojectq YOCTO_ADTPATH_DIR : "/opt/poky/&DISTRO;" YOCTO_POKY_TARBALL : "&YOCTO_POKY;.tar.bz2" OE_INIT_PATH : "&YOCTO_POKY;/oe-init-build-env" -OE_INIT_FILE : "oe-init-build-env" UBUNTU_HOST_PACKAGES_ESSENTIAL : "gawk wget git-core diffstat unzip texinfo gcc-multilib \ build-essential chrpath socat cpio python3 python3-pip python3-pexpect \ xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \documentation/ref-manual/ref-structure.rst +2
-4@@ -188,7 +188,7 @@ your choice. For example, the following command creates a Build Directory named ``mybuilds/`` that is outside of the :term:`Source Directory`: :: - $ source OE_INIT_FILE ~/mybuilds + $ source oe-init-build-env ~/mybuilds The OpenEmbedded build system uses the template configuration files, which are found by default in the ``meta-poky/conf/`` directory in the Source@@ -200,8 +200,7 @@ information. .. note:: The OpenEmbedded build system does not support file or directory - names that contain spaces. If you attempt to run the - OE_INIT_FILE + names that contain spaces. If you attempt to run the ``oe-init-build-env`` script from a Source Directory that contains spaces in either the filenames or directory names, the script returns an error indicating no such file or directory. Be sure to use a Source Directory free of --2.26.2
PATCH v2 5/8 docs: ref-manual: fix typos
In reply to Quentin Schulz---
v2:
- removed fix for OE_INIT_FILE since the variable's been removed the
patch just before,
documentation/ref-manual/migration-1.4.rst | 2 +- documentation/ref-manual/migration-2.3.rst | 2 +- documentation/ref-manual/migration-3.1.rst | 2 +- documentation/ref-manual/ref-classes.rst | 4 ++-- documentation/ref-manual/ref-system-requirements.rst | 2 +- documentation/ref-manual/ref-tasks.rst | 10 +++++----- documentation/ref-manual/ref-terms.rst | 2 +- documentation/ref-manual/ref-variables.rst | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-)
documentation/ref-manual/migration-1.4.rst +1 -1
@@ -12,7 +12,7 @@ BitBake Differences include the following: - *Comment Continuation:* If a comment ends with a line continuation - (\) character, then the next line must also be a comment. Any + (\\) character, then the next line must also be a comment. Any instance where this is not the case, now triggers a warning. You must either remove the continuation character, or be sure the next line is a comment.
documentation/ref-manual/migration-2.3.rst +1 -1
@@ -481,7 +481,7 @@ The following miscellaneous changes have occurred: following: :: - KERNEL_MODULE_PACKAGE_SUFFIX to "" + KERNEL_MODULE_PACKAGE_SUFFIX = "" - Removal of ``libtool`` ``*.la`` files is now enabled by default. The ``*.la`` files are not actually needed on Linux and relocating them
documentation/ref-manual/migration-3.1.rst +1 -1
@@ -181,7 +181,7 @@ to be changed as a result. An example of the new scheme: :: - SRC_URI = "npm://registry.npmjs.org;package=array-flatten;version=1.1.1 \\ + SRC_URI = "npm://registry.npmjs.org;package=array-flatten;version=1.1.1 \ npmsw://${THISDIR}/npm-shrinkwrap.json" Another example where the sources are fetched from git rather than an npm repository: ::
documentation/ref-manual/ref-classes.rst +2 -2
@@ -1388,7 +1388,7 @@ Multiple device trees can be added to the FIT image created by ``kernel-fitimage`` and the device tree is optional. The address where the device tree is to be loaded by U-boot is specified by :term:`UBOOT_DTBO_LOADADDRESS` for device tree overlays -and by `:term:`UBOOT_DTB_LOADADDRESS` for device tree binaries. +and by :term:`UBOOT_DTB_LOADADDRESS` for device tree binaries. Only a single RAM disk can be added to the FIT image created by ``kernel-fitimage`` and the RAM disk in FIT is optional.
@@ -2257,7 +2257,7 @@ The root filesystem is created from packages using one of the :term:`PACKAGE_CLASSES` variable. For information on how root filesystem images are created, see the -:ref:`image-generation-dev-environment`" +":ref:`image-generation-dev-environment`" section in the Yocto Project Overview and Concepts Manual. .. _ref-classes-sanity:
documentation/ref-manual/ref-system-requirements.rst +1 -1
@@ -239,7 +239,7 @@ supported CentOS-8 Linux distribution: Yocto Project documentation manuals: :: - $ sudo dnf install docbook-style-dsssl docbook-style-xsl \\ + $ sudo dnf install docbook-style-dsssl docbook-style-xsl \ docbook-dtds docbook-utils fop libxslt dblatex xmlto Required Git, tar, Python and gcc Versions
documentation/ref-manual/ref-tasks.rst +5 -5
@@ -326,9 +326,9 @@ As mentioned earlier, the build system treats files whose file types are file as a patch file: :: - SRC_URI = " \\ - git://path_to_repo/some_package \\ - file://file;apply=yes \\ + SRC_URI = " \ + git://path_to_repo/some_package \ + file://file;apply=yes \ " Conversely, if you have a directory full of patch files and you want to
@@ -537,7 +537,7 @@ Removes all output files and shared state (:ref:`sstate <overview-manual/overview-manual-concepts:shared state cache>`) cache for a target. Essentially, the ``do_cleansstate`` task is identical to the :ref:`ref-tasks-clean` task with the added removal of -shared state (`:ref:`sstate <overview-manual/overview-manual-concepts:shared state cache>`) +shared state (:ref:`sstate <overview-manual/overview-manual-concepts:shared state cache>`) cache. You can run this task using BitBake as follows:
@@ -593,7 +593,7 @@ Lists all defined tasks for a target. ``do_package_index`` -------------------- -Creates or updates the index in the `:ref:`package-feeds-dev-environment` area. +Creates or updates the index in the :ref:`package-feeds-dev-environment` area. .. note::
documentation/ref-manual/ref-terms.rst +1 -1
@@ -45,7 +45,7 @@ universal, the list includes them just in case: .. note:: - The use of the " % " character is limited in that it only works + The use of the "%" character is limited in that it only works directly in front of the .bbappend portion of the append file's name. You cannot use the wildcard character in any other location of the name.
documentation/ref-manual/ref-variables.rst +1 -1
@@ -4573,7 +4573,7 @@ system and gives an overview of their function and contents. recipe: :: - SRC_URI_append_qemuall = "file://wired.config \ + SRC_URI_append_qemuall = " file://wired.config \ file://wired-setup \ "
Signature · 1 line
2.26.2
PATCH v2 6/8 docs: ref-manual: migration-2.3: specify 2.3 version instead of DISTRO
In reply to Quentin Schulz--- documentation/ref-manual/migration-2.3.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
documentation/ref-manual/migration-2.3.rst +2 -2
@@ -120,7 +120,7 @@ The following changes to scripts took place: $ . oe-find-native-sysroot recipe You must now supply a recipe for recipe - as part of the command. Prior to the Yocto Project &DISTRO; release, it + as part of the command. Prior to the Yocto Project 2.3 release, it was not necessary to provide the script with the command. - ``oe-run-native``: The usage for the ``oe-run-native`` script has
@@ -131,7 +131,7 @@ The following changes to scripts took place: You must supply the name of the native recipe and the tool you want to run as - part of the command. Prior to the Yocto Project DISTRO release, it + part of the command. Prior to the Yocto Project 2.3 release, it was not necessary to provide the native recipe with the command. - ``cleanup-workdir``: The ``cleanup-workdir`` script has been
Signature · 1 line
2.26.2
PATCH v2 7/8 docs: ref-manual: ref-classes: remove "prototype" note for spdx class
In reply to Quentin Schulz1.6 was a loooooong time ago.
--- documentation/ref-manual/ref-classes.rst | 4 ---- 1 file changed, 4 deletions(-)
documentation/ref-manual/ref-classes.rst +0 -4
@@ -2363,10 +2363,6 @@ The ``spdx`` class integrates real-time license scanning, generation of SPDX standard output, and verification of license information during the build. -.. note:: - - This class is currently at the prototype stage in the 1.6 release. - .. _ref-classes-sstate: ``sstate.bbclass``
Signature · 1 line
2.26.2
PATCH v2 8/8 docs: ref-manual: ref-classes: remove dropped tinderclient class
In reply to Quentin Schulztinderclient class was dropped in dunfell.
--- documentation/ref-manual/ref-classes.rst | 12 ------------ 1 file changed, 12 deletions(-)
documentation/ref-manual/ref-classes.rst +0 -12
@@ -2668,18 +2668,6 @@ host system. you can remove "texinfo-native" from :term:`ASSUME_PROVIDED` and makeinfo from :term:`SANITY_REQUIRED_UTILITIES`. -.. _ref-classes-tinderclient: - -``tinderclient.bbclass`` -======================== - -The ``tinderclient`` class submits build results to an external -Tinderbox instance. - -.. note:: - - This class is currently unmaintained. - .. _ref-classes-toaster: ``toaster.bbclass``
Signature · 1 line
2.26.2