Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 18th, 2013  |  syntax: Python  |  size: 0.82 KB  |  views: 31  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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