diff options
Diffstat (limited to 'documentation/ref-manual')
| -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 0f35b136b2..66e0bdee0d 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
| @@ -6771,6 +6771,23 @@ system and gives an overview of their function and contents. | |||
| 6771 | The version of the package(s) built by the recipe. By default, | 6771 | The version of the package(s) built by the recipe. By default, |
| 6772 | :term:`PKGV` is set to :term:`PV`. | 6772 | :term:`PKGV` is set to :term:`PV`. |
| 6773 | 6773 | ||
| 6774 | If :term:`PV` contains the ``+`` sign, source control information will be | ||
| 6775 | included in :term:`PKGV` later in the packaging phase. For more | ||
| 6776 | information, see the :doc:`/dev-manual/external-scm` section of the Yocto | ||
| 6777 | Project Development Tasks Manual. | ||
| 6778 | |||
| 6779 | .. warning:: | ||
| 6780 | |||
| 6781 | Since source control information is included in a late stage by the | ||
| 6782 | :ref:`ref-classes-package` class, it cannot be seen from the BitBake | ||
| 6783 | environment with ``bitbake -e`` or ``bitbake-getvar``. Instead, after | ||
| 6784 | the package is built, the version information can be retrieved with | ||
| 6785 | ``oe-pkgdata-util package-info <package name>``. See the | ||
| 6786 | :ref:`dev-manual/debugging:Viewing Package Information with | ||
| 6787 | \`\`oe-pkgdata-util\`\`` section of the Yocto Project Development Tasks | ||
| 6788 | Manual for more information on ``oe-pkgdata-util``. | ||
| 6789 | |||
| 6790 | |||
| 6774 | :term:`PN` | 6791 | :term:`PN` |
| 6775 | This variable can have two separate functions depending on the | 6792 | This variable can have two separate functions depending on the |
| 6776 | context: a recipe name or a resulting package name. | 6793 | context: a recipe name or a resulting package name. |
