diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2024-12-09 17:43:43 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-20 12:47:59 +0000 |
commit | c9565b89d070d31db5f4e4ee499f4905938ed4f6 (patch) | |
tree | 38ea29bf46a83ac8df36ef5fe165342fe962604a /documentation/kernel-dev/common.rst | |
parent | 6968e17ae5992fd7948098e5d5221a3e106e3452 (diff) | |
download | poky-c9565b89d070d31db5f4e4ee499f4905938ed4f6.tar.gz |
Update the documentation for SRCPV
The variable SRCPV is deprecated since 4.3. Instead of including SRCPV
in PV, including the sign "+" is enough for bitbake to add the source
control information to PKGV during the packaging phase.
Update the documentation for SRCPV and the places where it was used.
When instructions previously referred to SRCPV, replace by mentioning to
include "+" in the assignment.
In most examples, "+git" is added to PV as it is the most popular SCM.
Simply adding "+" is also possible, although it is better practice to
include the SCM name, so give that example.
Update the gcompat example with l3afpad as it didn't include "+git" in
its PV definition anymore.
(From yocto-docs rev: ee16c96202e5027d1a8d7e89e11c25f127c78326)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/kernel-dev/common.rst')
-rw-r--r-- | documentation/kernel-dev/common.rst | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/documentation/kernel-dev/common.rst b/documentation/kernel-dev/common.rst index fda41694dc..28ef3b22c3 100644 --- a/documentation/kernel-dev/common.rst +++ b/documentation/kernel-dev/common.rst | |||
@@ -1562,16 +1562,9 @@ Here are some basic steps you can use to work with your own sources: | |||
1562 | changed. | 1562 | changed. |
1563 | 1563 | ||
1564 | - :term:`PV`: The default :term:`PV` | 1564 | - :term:`PV`: The default :term:`PV` |
1565 | assignment is typically adequate. It combines the | 1565 | assignment is typically adequate. It combines the value of |
1566 | :term:`LINUX_VERSION` with the Source Control Manager (SCM) revision | 1566 | :term:`LINUX_VERSION` and the value ``+git`` which adds source control |
1567 | as derived from the :term:`SRCPV` | 1567 | information to :term:`PKGV` later during the packaging phase. |
1568 | variable. The combined results are a string with the following | ||
1569 | form:: | ||
1570 | |||
1571 | 3.19.11+git1+68a635bf8dfb64b02263c1ac80c948647cc76d5f_1+218bd8d2022b9852c60d32f0d770931e3cf343e2 | ||
1572 | |||
1573 | While lengthy, the extra verbosity in :term:`PV` helps ensure you are | ||
1574 | using the exact sources from which you intend to build. | ||
1575 | 1568 | ||
1576 | - :term:`COMPATIBLE_MACHINE`: | 1569 | - :term:`COMPATIBLE_MACHINE`: |
1577 | A list of the machines supported by your new recipe. This variable | 1570 | A list of the machines supported by your new recipe. This variable |