diff options
| author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2021-09-15 19:11:57 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-18 13:03:45 +0100 |
| commit | d6966a39f2d3f63c7e244e2e536564c8ceb9aa17 (patch) | |
| tree | fed731d40b4b0fc34d31aad083f30ff8136a0403 /documentation/ref-manual/variables.rst | |
| parent | 95866fd533baf049ad272cbe9cb2c549ad1bcd95 (diff) | |
| download | poky-d6966a39f2d3f63c7e244e2e536564c8ceb9aa17.tar.gz | |
ref-manual: document UPSTREAM_CHECK_COMMITS and UPSTREAM_VERSION_UNKNOWN
(From yocto-docs rev: 99b5fee6295a5c424fdb2cc0b34a4a486d7bf721)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/variables.rst')
| -rw-r--r-- | documentation/ref-manual/variables.rst | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 5caada6260..24e7772270 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
| @@ -8483,6 +8483,18 @@ system and gives an overview of their function and contents. | |||
| 8483 | install initscripts package them in the main package for the recipe, | 8483 | install initscripts package them in the main package for the recipe, |
| 8484 | you rarely need to set this variable in individual recipes. | 8484 | you rarely need to set this variable in individual recipes. |
| 8485 | 8485 | ||
| 8486 | :term:`UPSTREAM_CHECK_COMMITS` | ||
| 8487 | You can perform a per-recipe check for what the latest upstream | ||
| 8488 | source code version is by calling ``devtool latest-version recipe``. If | ||
| 8489 | the recipe source code is provided from Git repositories, but | ||
| 8490 | releases are not identified by Git tags, set :term:`UPSTREAM_CHECK_COMMITS` | ||
| 8491 | to ``1`` in the recipe, and the OpenEmbedded build system | ||
| 8492 | will compare the latest commit with the one currently specified | ||
| 8493 | by the recipe (:term:`SRCREV`). | ||
| 8494 | :: | ||
| 8495 | |||
| 8496 | UPSTREAM_CHECK_COMMITS = "1" | ||
| 8497 | |||
| 8486 | :term:`UPSTREAM_CHECK_GITTAGREGEX` | 8498 | :term:`UPSTREAM_CHECK_GITTAGREGEX` |
| 8487 | You can perform a per-recipe check for what the latest upstream | 8499 | You can perform a per-recipe check for what the latest upstream |
| 8488 | source code version is by calling ``bitbake -c checkpkg`` recipe. If | 8500 | source code version is by calling ``bitbake -c checkpkg`` recipe. If |
| @@ -8518,6 +8530,18 @@ system and gives an overview of their function and contents. | |||
| 8518 | 8530 | ||
| 8519 | UPSTREAM_CHECK_URI = "recipe_url" | 8531 | UPSTREAM_CHECK_URI = "recipe_url" |
| 8520 | 8532 | ||
| 8533 | :term:`UPSTREAM_VERSION_UNKNOWN` | ||
| 8534 | You can perform a per-recipe check for what the latest upstream | ||
| 8535 | source code version is by calling ``devtool latest-version recipe``. | ||
| 8536 | If no combination of the :term:`UPSTREAM_CHECK_URI`, :term:`UPSTREAM_CHECK_REGEX`, | ||
| 8537 | :term:`UPSTREAM_CHECK_GITTAGREGEX` and :term:`UPSTREAM_CHECK_COMMITS` variables in | ||
| 8538 | the recipe allows to determine what the latest upstream version is, | ||
| 8539 | you can set :term:`UPSTREAM_VERSION_UNKNOWN` to ``1`` in the recipe | ||
| 8540 | to acknowledge that the check cannot be performed. | ||
| 8541 | :: | ||
| 8542 | |||
| 8543 | UPSTREAM_VERSION_UNKNOWN = "1" | ||
| 8544 | |||
| 8521 | :term:`USE_DEVFS` | 8545 | :term:`USE_DEVFS` |
| 8522 | Determines if ``devtmpfs`` is used for ``/dev`` population. The | 8546 | Determines if ``devtmpfs`` is used for ``/dev`` population. The |
| 8523 | default value used for :term:`USE_DEVFS` is "1" when no value is | 8547 | default value used for :term:`USE_DEVFS` is "1" when no value is |
