diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2024-02-06 14:18:58 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-02-09 09:52:12 -0800 |
commit | 3482f8973ec493337dd0f0a7d459c1861f951b4f (patch) | |
tree | b258a3ff167dda312d9e8f3ae82a975ae33ed818 /meta-oe/classes | |
parent | d3d099bda6a48f400547664889a3ccf5a754a593 (diff) | |
download | meta-openembedded-3482f8973ec493337dd0f0a7d459c1861f951b4f.tar.gz |
gitpkgv.bbclass: adjust the example in comment a bit
* the first example isn't very useful anymore since:
SRCPV is deferred now from PV to PKGV since:
https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0
* but keep it in the bbclass in case someone is still using it
for whatever reason (the version with tag still makes some sense)
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Diffstat (limited to 'meta-oe/classes')
-rw-r--r-- | meta-oe/classes/gitpkgv.bbclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta-oe/classes/gitpkgv.bbclass b/meta-oe/classes/gitpkgv.bbclass index cb2cea26b..5ab507969 100644 --- a/meta-oe/classes/gitpkgv.bbclass +++ b/meta-oe/classes/gitpkgv.bbclass | |||
@@ -25,17 +25,17 @@ | |||
25 | # | 25 | # |
26 | # inherit gitpkgv | 26 | # inherit gitpkgv |
27 | # | 27 | # |
28 | # PV = "1.0+gitr${SRCPV}" # expands to something like 1.0+gitr3+4c1c21d7dbbf93b0df336994524313dfe0d4963b | 28 | # PV = "1.0+git" # expands to 1.0+git |
29 | # PKGV = "1.0+gitr${GITPKGV}" # expands also to something like 1.0+gitr31337+4c1c21d7d | 29 | # PKGV = "1.0+git${GITPKGV}" # expands also to something like 1.0+git31337+4c1c21d7d |
30 | # | 30 | # |
31 | # or | 31 | # or |
32 | # | 32 | # |
33 | # inherit gitpkgv | 33 | # inherit gitpkgv |
34 | # | 34 | # |
35 | # PV = "1.0+gitr${SRCPV}" # expands to something like 1.0+gitr3+4c1c21d7dbbf93b0df336994524313dfe0d4963b | 35 | # PV = "1.0+git" # expands to 1.0+git |
36 | # PKGV = "${GITPKGVTAG}" # expands to something like 1.0-31337+g4c1c21d | 36 | # PKGV = "${GITPKGVTAG}" # expands to something like 1.0-31337+g4c1c21d |
37 | # if there is tag v1.0 before this revision or | 37 | # if there is tag v1.0 before this revision or |
38 | # ver1.0-31337+g4c1c21d if there is tag ver1.0 | 38 | # ver1.0-31337+g4c1c21d if there is tag ver1.0 |
39 | 39 | ||
40 | GITPKGV = "${@get_git_pkgv(d, False)}" | 40 | GITPKGV = "${@get_git_pkgv(d, False)}" |
41 | GITPKGVTAG = "${@get_git_pkgv(d, True)}" | 41 | GITPKGVTAG = "${@get_git_pkgv(d, True)}" |