mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
documentation: Simplify yocto_git links
The yocto_git external link directive is modified to include the `/cgit/cgit.cgi` element of the URL so that we can simplify the links in the text. Manual links to git.yoctoproject.org are converted to use the yocto_git directive where possible. Note that this directive can't be used in some places such as example code. (From yocto-docs rev: 3a8ba5dcc783411c73fe49fb217cbc4d6528d9a7) Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8faafa99cc
commit
48748377a4
@@ -273,7 +273,7 @@ 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 </cgit/cgit.cgi/poky/tree/meta-poky/conf/local.conf.sample>`
|
||||
:yocto_git:`local.conf.sample </poky/tree/meta-poky/conf/local.conf.sample>`
|
||||
in the ``meta-poky`` layer:
|
||||
|
||||
- *Target Machine Selection:* Controlled by the
|
||||
@@ -393,17 +393,17 @@ figure <#general-workflow-figure>`__:
|
||||
configurations. This type of information is specific to a particular
|
||||
target architecture. A good example of a BSP layer from the `Poky
|
||||
Reference Distribution <#gs-reference-distribution-poky>`__ is the
|
||||
:yocto_git:`meta-yocto-bsp </cgit/cgit.cgi/poky/tree/meta-yocto-bsp>`
|
||||
:yocto_git:`meta-yocto-bsp </poky/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 </cgit/cgit.cgi/poky/tree/meta-poky>`
|
||||
:yocto_git:`meta-poky </poky/tree/meta-poky>`
|
||||
layer. Within the distro layer is a ``conf/distro`` directory that
|
||||
contains distro configuration files (e.g.
|
||||
:yocto_git:`poky.conf </cgit/cgit.cgi/poky/tree/meta-poky/conf/distro/poky.conf>`
|
||||
:yocto_git:`poky.conf </poky/tree/meta-poky/conf/distro/poky.conf>`
|
||||
that contain many policy configurations for the Poky distribution.
|
||||
|
||||
The following figure shows an expanded representation of these three
|
||||
@@ -427,9 +427,8 @@ Model <#the-yocto-project-layer-model>`__" sections both earlier in this
|
||||
manual.
|
||||
|
||||
If you explored the previous links, you discovered some areas where many
|
||||
layers that work with the Yocto Project exist. The `Source
|
||||
Repositories <http://git.yoctoproject.org/>`__ also shows layers
|
||||
categorized under "Yocto Metadata Layers."
|
||||
layers that work with the Yocto Project exist. The :yocto_git:`Source
|
||||
Repositories <>` also shows layers categorized under "Yocto Metadata Layers."
|
||||
|
||||
.. note::
|
||||
|
||||
@@ -879,7 +878,7 @@ This step in the build process consists of the following tasks:
|
||||
variables. For information on how this variable works within that
|
||||
class, see the
|
||||
:ref:`autotools <ref-classes-autotools>` class
|
||||
:yocto_git:`here </cgit/cgit.cgi/poky/tree/meta/classes/autotools.bbclass>`.
|
||||
:yocto_git:`here </poky/tree/meta/classes/autotools.bbclass>`.
|
||||
|
||||
- *do_compile*: Once a configuration task has been satisfied,
|
||||
BitBake compiles the source using the
|
||||
@@ -957,7 +956,7 @@ The :term:`FILES` variable defines the
|
||||
files that go into each package in
|
||||
:term:`PACKAGES`. If you want
|
||||
details on how this is accomplished, you can look at
|
||||
:yocto_git:`package.bbclass </cgit/cgit.cgi/poky/tree/meta/classes/package.bbclass>`.
|
||||
:yocto_git:`package.bbclass </poky/tree/meta/classes/package.bbclass>`.
|
||||
|
||||
Depending on the type of packages being created (RPM, DEB, or IPK), the
|
||||
:ref:`do_package_write_* <ref-tasks-package_write_deb>`
|
||||
|
||||
@@ -416,7 +416,7 @@ files. Git uses "branches" to organize different development efforts.
|
||||
For example, the ``poky`` 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 https://git.yoctoproject.org/cgit.cgi/poky/ and clicking on the
|
||||
by going to :yocto_git:`/poky/` and clicking on the
|
||||
``[...]`` link beneath the "Branch" heading.
|
||||
|
||||
Each of these branches represents a specific area of development. The
|
||||
@@ -461,9 +461,8 @@ 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
|
||||
https://git.yoctoproject.org/cgit.cgi/poky/ and clicking on the ``[...]`` link
|
||||
beneath the "Tag" heading.
|
||||
tags used with the ``poky`` Git repository by going to :yocto_git:`/poky/`
|
||||
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
|
||||
|
||||
@@ -267,9 +267,8 @@ with the string ``meta-``.
|
||||
, but it is a commonly accepted standard in the Yocto Project
|
||||
community.
|
||||
|
||||
For example, if you were to examine the `tree
|
||||
view <https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/>`__ of the
|
||||
``poky`` repository, you will see several layers: ``meta``,
|
||||
For example, if you were to examine the :yocto_git:`tree view </poky/tree/>`
|
||||
of the ``poky`` repository, you will see several layers: ``meta``,
|
||||
``meta-skeleton``, ``meta-selftest``, ``meta-poky``, and
|
||||
``meta-yocto-bsp``. Each of these repositories represents a distinct
|
||||
layer.
|
||||
@@ -467,7 +466,7 @@ The following list consists of components associated with the
|
||||
OpenEmbedded-derived systems, which includes the Yocto Project. The
|
||||
Yocto Project and the OpenEmbedded Project both maintain the
|
||||
OpenEmbedded-Core. You can find the OE-Core metadata in the Yocto
|
||||
Project :yocto_git:`Source Repositories </cgit/cgit.cgi/poky/tree/meta>`.
|
||||
Project :yocto_git:`Source Repositories </poky/tree/meta>`.
|
||||
|
||||
Historically, the Yocto Project integrated the OE-Core metadata
|
||||
throughout the Yocto Project source repository reference system
|
||||
@@ -671,7 +670,7 @@ Poky is a combined repository of BitBake, OpenEmbedded-Core (which is
|
||||
found in ``meta``), ``meta-poky``, ``meta-yocto-bsp``, and documentation
|
||||
provided all together and known to work well together. You can view
|
||||
these items that make up the Poky repository in the
|
||||
:yocto_git:`Source Repositories </cgit/cgit.cgi/poky/tree/>`.
|
||||
:yocto_git:`Source Repositories </poky/tree/>`.
|
||||
|
||||
.. note::
|
||||
|
||||
@@ -870,8 +869,7 @@ helpful for getting started:
|
||||
set of recipes.
|
||||
|
||||
You can see the Metadata in the ``meta`` directory of the Yocto
|
||||
Project `Source
|
||||
Repositories <http://git.yoctoproject.org/cgit/cgit.cgi>`__.
|
||||
Project :yocto_git:`Source Repositories <>`.
|
||||
|
||||
- *Packages:* In the context of the Yocto Project, this term refers to
|
||||
a recipe's packaged output produced by BitBake (i.e. a "baked
|
||||
|
||||
Reference in New Issue
Block a user