Advertisement
Guest User

Untitled

a guest
Nov 18th, 2013
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.82 KB | None | 0 0
  1. diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
  2. index 3da03c8..b629657 100644
  3. --- a/meta/classes/buildhistory.bbclass
  4. +++ b/meta/classes/buildhistory.bbclass
  5. @@ -546,7 +546,13 @@ python buildhistory_eventhandler() {
  6.      if e.data.getVar('BUILDHISTORY_FEATURES', True).strip():
  7.          if e.data.getVar("BUILDHISTORY_COMMIT", True) == "1":
  8.              bb.note("Writing buildhistory")
  9. +
  10. +            # Temporarily disable verbose logs as the execution of
  11. +            # buildhistory_commit() would otherwise be logged to stdout
  12. +            verbose_logs = bb.msg.loggerVerboseLogs
  13. +            bb.msg.loggerVerboseLogs = False
  14.              bb.build.exec_func("buildhistory_commit", e.data)
  15. +            bb.msg.loggerVerboseLogs = verbose_logs
  16.  }
  17.  
  18.  addhandler buildhistory_eventhandler
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement