aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-04 10:55:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-06 06:34:45 +0100
commit6184cb07dfa44f5f76f1c423533b4547d80b20ab (patch)
tree44e757b573c84f525b2a8e6cea49b2d5c915b586 /lib/bb/fetch2/__init__.py
parent2fd03ec7b136c694f2ced43b3abb69f719c99ec2 (diff)
downloadbitbake-6184cb07dfa44f5f76f1c423533b4547d80b20ab.tar.gz
fetch/tests/toaster: Override conversion fixups
Fix some references that missed during the overrides syntax migration or were incorrect. Thanks to Quentin Schulz <foss@0leil.net> for the patch. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/__init__.py')
-rw-r--r--lib/bb/fetch2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index 60aaf3902..ad898680f 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -1146,7 +1146,7 @@ def srcrev_internal_helper(ud, d, name):
pn = d.getVar("PN")
attempts = []
if name != '' and pn:
- attempts.append("SRCREV_%s_pn-%s" % (name, pn))
+ attempts.append("SRCREV_%s:pn-%s" % (name, pn))
if name != '':
attempts.append("SRCREV_%s" % name)
if pn: