diff options
author | Ross Burton <ross.burton@intel.com> | 2016-01-21 20:37:58 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-22 23:42:45 +0000 |
commit | 27ad7f446ff7b6a6a4f8f0d392f03c6707340a21 (patch) | |
tree | 55f8b03cb2cf17f48750f4886d88cf1ebf6bb3ec /meta/classes | |
parent | 7a42b4c01a0e1fa335ba1c679369d455235ea6ee (diff) | |
download | openembedded-core-contrib-27ad7f446ff7b6a6a4f8f0d392f03c6707340a21.tar.gz |
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>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/update-alternatives.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass index 825cc880432..70a818572c1 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)): |