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-24 09:40:25 +0000 |
commit | 063dc3856dd747f59ec53086e2447b6c15493069 (patch) | |
tree | afe79c59c88dfa3e7d33e25519bc62d61e0ccbf1 | |
parent | 6baafa1d44f8e63e22d9ed49e92fb7c4d1b25ab4 (diff) | |
download | poky-063dc3856dd747f59ec53086e2447b6c15493069.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.
(From OE-Core rev: 27ad7f446ff7b6a6a4f8f0d392f03c6707340a21)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 825cc88043..70a818572c 100644 --- a/meta/classes/update-alternatives.bbclass +++ b/meta/classes/update-alternatives.bbclass | |||
@@ -252,7 +252,7 @@ python package_do_filedeps_append () { | |||
252 | alt_target = alt_target or d.getVar('ALTERNATIVE_TARGET_%s' % pkg, True) or d.getVar('ALTERNATIVE_TARGET', True) or alt_link | 252 | alt_target = alt_target or d.getVar('ALTERNATIVE_TARGET_%s' % pkg, True) or d.getVar('ALTERNATIVE_TARGET', True) or alt_link |
253 | 253 | ||
254 | if alt_link == alt_target: | 254 | if alt_link == alt_target: |
255 | bb.warn('alt_link == alt_target: %s == %s' % (alt_link, alt_target)) | 255 | bb.warn('%s: alt_link == alt_target: %s == %s' % (pn, alt_link, alt_target)) |
256 | alt_target = '%s.%s' % (alt_target, pn) | 256 | alt_target = '%s.%s' % (alt_target, pn) |
257 | 257 | ||
258 | if not os.path.lexists('%s/%s/%s' % (pkgdest, pkg, alt_target)): | 258 | if not os.path.lexists('%s/%s/%s' % (pkgdest, pkg, alt_target)): |