diff options
-rw-r--r-- | meta-poky/classes/poky-bleeding.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-poky/classes/poky-bleeding.bbclass b/meta-poky/classes/poky-bleeding.bbclass index e5f30687e4..3bfdcf1454 100644 --- a/meta-poky/classes/poky-bleeding.bbclass +++ b/meta-poky/classes/poky-bleeding.bbclass | |||
@@ -1,5 +1,5 @@ | |||
1 | # | 1 | # |
2 | # AUTOREV and PV containing SRCPV needs to be set early, before any anonymous python | 2 | # AUTOREV and PV containing '+git' needs to be set early, before any anonymous python |
3 | # expands anything containing PV, else the parse process won't trigger the fetcher to | 3 | # expands anything containing PV, else the parse process won't trigger the fetcher to |
4 | # cache the needed version data | 4 | # cache the needed version data |
5 | # | 5 | # |
@@ -13,7 +13,7 @@ python pokybleeding_version_handler () { | |||
13 | bb.warn("Here 5 %s %s" % (d.getVar("PN"), bpn)) | 13 | bb.warn("Here 5 %s %s" % (d.getVar("PN"), bpn)) |
14 | d.setVar("SRCREV", "${AUTOREV}") | 14 | d.setVar("SRCREV", "${AUTOREV}") |
15 | if "+git" not in d.getVar("PV"): | 15 | if "+git" not in d.getVar("PV"): |
16 | d.appendVar("PV", "+git${SRCPV}") | 16 | d.appendVar("PV", "+git") |
17 | } | 17 | } |
18 | 18 | ||
19 | addhandler pokybleeding_version_handler | 19 | addhandler pokybleeding_version_handler |