summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2014-03-05 18:17:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-05 17:26:24 +0000
commit6e1633eb246fee3dee154513efa410d0930ea386 (patch)
treeba7886cc611efdece039d70dcf267e4074ee87a6 /meta
parent6f8d01e0097ded355a1eb38724f11ee65401392e (diff)
downloadopenembedded-core-6e1633eb246fee3dee154513efa410d0930ea386.tar.gz
openembedded-core-6e1633eb246fee3dee154513efa410d0930ea386.tar.bz2
openembedded-core-6e1633eb246fee3dee154513efa410d0930ea386.zip
base: Show PRINC value in the warning message
* it's useful to know by how much we need to bump PR in original recipe to preserve upgrade path Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 27b5f53a09..76a4ef650d 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -461,7 +461,7 @@ python () {
# obsolete. Return a warning to the user.
princ = d.getVar('PRINC', True)
if princ and princ != "0":
- bb.warn("Use of PRINC was detected in the recipe %s (or one of its .bbappends)\nUse of PRINC is deprecated. The PR server should be used to automatically increment the PR. See: https://wiki.yoctoproject.org/wiki/PR_Service." % d.getVar("FILE", True))
+ bb.warn("Use of PRINC %s was detected in the recipe %s (or one of its .bbappends)\nUse of PRINC is deprecated. The PR server should be used to automatically increment the PR. See: https://wiki.yoctoproject.org/wiki/PR_Service." % (princ, d.getVar("FILE", True)))
pr = d.getVar('PR', True)
pr_prefix = re.search("\D+",pr)
prval = re.search("\d+",pr)