mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
a1e534873e
commit
1dc068cb0a
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user