[PATCH v2] dev-manual: add second way to assign "PV" for external SCM
"Robert P. J. Day" <[email protected]>
| Newsgroups | org.yoctoproject.lists.docs |
|---|---|
| Message-ID | <[email protected]> |
In addition to hard-coding a PV value in the context of an external SCM, show also just appending the string "+git" to the value already calculated for PV. Signed-off-by: Robert P. J. Day <[email protected]> --- diff --git a/documentation/dev-manual/external-scm.rst b/documentation/dev-manual/external-scm.rst index 3ca9079b3..cac23ac1e 100644 --- a/documentation/dev-manual/external-scm.rst +++ b/documentation/dev-manual/external-scm.rst @@ -13,9 +13,13 @@ Subversion (SVN) and Git. To enable this behavior, the :term:`PV` of the recipe needs to include a ``+`` sign in its assignment. -Here is an example:: +Here are a couple examples of how this can be done --- the first +hard-coding the value for ``PV``, the second simply appending +the string "+git" to the value of ``PV`` already extracted from +the recipe file name:: PV = "1.2.3+git" + PV .= "+git" :term:`Bitbake` later includes the source control information in :term:`PKGV` during the packaging phase.