base.bbclass: Output notes only on BB <= 1.8.x
With BB > 1.9 the UI can output the details of an event as it chooses. They do not need to be converted into notes. Without this patch spurious messages are generated on BB 1.9. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5540 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
3f93ed6bce
commit
a8644924ab
|
@ -752,8 +752,12 @@ python base_eventhandler() {
|
|||
msg += messages.get(name[5:]) or name[5:]
|
||||
elif name == "UnsatisfiedDep":
|
||||
msg += "package %s: dependency %s %s" % (e.pkg, e.dep, name[:-3].lower())
|
||||
if msg:
|
||||
note(msg)
|
||||
|
||||
# Only need to output when using 1.8 or lower, the UI code handles it
|
||||
# otherwise
|
||||
if (int(bb.__version__.split(".")[0]) <= 1 and int(bb.__version__.split(".")[1]) <= 8):
|
||||
if msg:
|
||||
note(msg)
|
||||
|
||||
if name.startswith("BuildStarted"):
|
||||
bb.data.setVar( 'BB_VERSION', bb.__version__, e.data )
|
||||
|
|
Loading…
Reference in New Issue