dev-manual, ref-manual: Created new section on linear revision for packages

Fixes [YOCTO #10995]

For the dev-manual, I added a new section on incrementing package
revision numbers that explains how the build system uses various
variables to create linearly numbered revisions for packages.

For the ref-manual, I cross-referenced into the new section from the
AUTOSRC and SRCREV variables.

(From yocto-docs rev: 53c3092e0f0293f4db0a88659abb4cf1c93f208c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2017-04-10 10:30:36 -07:00
committed by Richard Purdie
parent 7f47526f5c
commit f9e7fba02f
2 changed files with 111 additions and 12 deletions

View File

@@ -484,6 +484,12 @@
in your recipe so that it does contain
<filename>${SRCPV}</filename>.
</para>
<para>
For more information see the
"<ulink url='&YOCTO_DOCS_DEV_URL;#incrementing-a-package-revision-number'>Incrementing a Package Revision Number</ulink>"
section in the Yocto Project Development Manual.
</para>
</glossdef>
</glossentry>
@@ -12679,15 +12685,17 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
every time BitBake parses your recipe, you should specify
a <filename>SRCREV</filename> that is a
full revision identifier and not just a tag.
<note>
For information on limitations when inheriting the
latest revision of software using
<filename>SRCREV</filename>, see the
<link linkend='var-AUTOREV'><filename>AUTOREV</filename></link>
variable description and the
"<ulink url='&YOCTO_DOCS_DEV_URL;#incrementing-a-package-revision-number'>Incrementing a Package Revision Number</ulink>"
section, which is in the Yocto Project Development Manual.
</note>
</para>
<note>
For information on limitations when inheriting the latest
revision of software using <filename>SRCREV</filename>,
see the
<link linkend='var-AUTOREV'><filename>AUTOREV</filename></link>
variable description.
</note>
</glossdef>
</glossentry>