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>
This commit is contained in:
parent
6baafa1d44
commit
063dc3856d
|
@ -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)):
|
||||
|
|
Loading…
Reference in New Issue