diff options
Diffstat (limited to 'documentation/ref-manual/variables.rst')
-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 1e6918da5a..c7348076b8 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -6829,6 +6829,23 @@ system and gives an overview of their function and contents. | |||
6829 | The version of the package(s) built by the recipe. By default, | 6829 | The version of the package(s) built by the recipe. By default, |
6830 | :term:`PKGV` is set to :term:`PV`. | 6830 | :term:`PKGV` is set to :term:`PV`. |
6831 | 6831 | ||
6832 | If :term:`PV` contains the ``+`` sign, source control information will be | ||
6833 | included in :term:`PKGV` later in the packaging phase. For more | ||
6834 | information, see the :doc:`/dev-manual/external-scm` section of the Yocto | ||
6835 | Project Development Tasks Manual. | ||
6836 | |||
6837 | .. warning:: | ||
6838 | |||
6839 | Since source control information is included in a late stage by the | ||
6840 | :ref:`ref-classes-package` class, it cannot be seen from the BitBake | ||
6841 | environment with ``bitbake -e`` or ``bitbake-getvar``. Instead, after | ||
6842 | the package is built, the version information can be retrieved with | ||
6843 | ``oe-pkgdata-util package-info <package name>``. See the | ||
6844 | :ref:`dev-manual/debugging:Viewing Package Information with | ||
6845 | \`\`oe-pkgdata-util\`\`` section of the Yocto Project Development Tasks | ||
6846 | Manual for more information on ``oe-pkgdata-util``. | ||
6847 | |||
6848 | |||
6832 | :term:`PN` | 6849 | :term:`PN` |
6833 | This variable can have two separate functions depending on the | 6850 | This variable can have two separate functions depending on the |
6834 | context: a recipe name or a resulting package name. | 6851 | context: a recipe name or a resulting package name. |