diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/variables.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 266470bd5f..d17f81036b 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -7051,6 +7051,23 @@ system and gives an overview of their function and contents. | |||
7051 | The version of the package(s) built by the recipe. By default, | 7051 | The version of the package(s) built by the recipe. By default, |
7052 | :term:`PKGV` is set to :term:`PV`. | 7052 | :term:`PKGV` is set to :term:`PV`. |
7053 | 7053 | ||
7054 | If :term:`PV` contains the ``+`` sign, source control information will be | ||
7055 | included in :term:`PKGV` later in the packaging phase. For more | ||
7056 | information, see the :doc:`/dev-manual/external-scm` section of the Yocto | ||
7057 | Project Development Tasks Manual. | ||
7058 | |||
7059 | .. warning:: | ||
7060 | |||
7061 | Since source control information is included in a late stage by the | ||
7062 | :ref:`ref-classes-package` class, it cannot be seen from the BitBake | ||
7063 | environment with ``bitbake -e`` or ``bitbake-getvar``. Instead, after | ||
7064 | the package is built, the version information can be retrieved with | ||
7065 | ``oe-pkgdata-util package-info <package name>``. See the | ||
7066 | :ref:`dev-manual/debugging:Viewing Package Information with | ||
7067 | \`\`oe-pkgdata-util\`\`` section of the Yocto Project Development Tasks | ||
7068 | Manual for more information on ``oe-pkgdata-util``. | ||
7069 | |||
7070 | |||
7054 | :term:`PN` | 7071 | :term:`PN` |
7055 | This variable can have two separate functions depending on the | 7072 | This variable can have two separate functions depending on the |
7056 | context: a recipe name or a resulting package name. | 7073 | context: a recipe name or a resulting package name. |