summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-01-21 20:37:58 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-22 23:42:45 +0000
commit27ad7f446ff7b6a6a4f8f0d392f03c6707340a21 (patch)
tree55f8b03cb2cf17f48750f4886d88cf1ebf6bb3ec
parent7a42b4c01a0e1fa335ba1c679369d455235ea6ee (diff)
downloadopenembedded-core-27ad7f446ff7b6a6a4f8f0d392f03c6707340a21.tar.gz
openembedded-core-27ad7f446ff7b6a6a4f8f0d392f03c6707340a21.tar.bz2
openembedded-core-27ad7f446ff7b6a6a4f8f0d392f03c6707340a21.zip
update-alternatives: when warning about alt_link==alt_target, say what PN
A warning that doesn't say what the PN is doesn't really help. Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/classes/update-alternatives.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass
index 825cc88043..70a818572c 100644
--- a/meta/classes/update-alternatives.bbclass
+++ b/meta/classes/update-alternatives.bbclass
@@ -252,7 +252,7 @@ python package_do_filedeps_append () {
alt_target = alt_target or d.getVar('ALTERNATIVE_TARGET_%s' % pkg, True) or d.getVar('ALTERNATIVE_TARGET', True) or alt_link
if alt_link == alt_target:
- bb.warn('alt_link == alt_target: %s == %s' % (alt_link, alt_target))
+ bb.warn('%s: alt_link == alt_target: %s == %s' % (pn, alt_link, alt_target))
alt_target = '%s.%s' % (alt_target, pn)
if not os.path.lexists('%s/%s/%s' % (pkgdest, pkg, alt_target)):