[oe-commits] Martin Jansa : base: Show PRINC value in the warning message
git at git.openembedded.org
git at git.openembedded.org
Thu Mar 6 17:28:17 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 6e1633eb246fee3dee154513efa410d0930ea386
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6e1633eb246fee3dee154513efa410d0930ea386
Author: Martin Jansa <martin.jansa at gmail.com>
Date: Wed Mar 5 18:17:17 2014 +0100
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 at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/base.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 27b5f53..76a4ef6 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)
More information about the Openembedded-commits
mailing list