diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2014-03-05 18:17:17 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-05 17:36:36 +0000 |
commit | 1dc068cb0aff7c5576952d353a42c624f4501d3d (patch) | |
tree | 24eba97dfa6e87a7bf880fe0a001617f0b875de3 /meta/classes/base.bbclass | |
parent | a1e534873e620ab133a9a042f9dec0eda29c19ea (diff) | |
download | poky-1dc068cb0aff7c5576952d353a42c624f4501d3d.tar.gz |
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
(From OE-Core rev: 6e1633eb246fee3dee154513efa410d0930ea386)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 2 |
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 () { | |||
461 | # obsolete. Return a warning to the user. | 461 | # obsolete. Return a warning to the user. |
462 | princ = d.getVar('PRINC', True) | 462 | princ = d.getVar('PRINC', True) |
463 | if princ and princ != "0": | 463 | if princ and princ != "0": |
464 | 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)) | 464 | 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))) |
465 | pr = d.getVar('PR', True) | 465 | pr = d.getVar('PR', True) |
466 | pr_prefix = re.search("\D+",pr) | 466 | pr_prefix = re.search("\D+",pr) |
467 | prval = re.search("\d+",pr) | 467 | prval = re.search("\d+",pr) |