[bitbake-devel] [PATCH 0/5] Fix writing events to file

Ed Bartosh ed.bartosh at linux.intel.com
Mon Jun 20 11:00:47 UTC 2016


Hi,

This patchset fixes "object is not JSON serializable" error caused by attempt
to convert binary pickled event object to JSON when bitbake is called with
-w command line option.

It also fixes error caused writing the same event to the file multiple times and
refactoring of event writing functionality.

The following changes since commit 09d08340fe0fca6f551c33d2fdcafb72f52812d2:

  Revert "cmake.bbclass: set the modules directory correctly" (2016-06-20 08:40:21 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib ed/bitbake/cooker-event-pickling-9803
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/bitbake/cooker-event-pickling-9803

Ed Bartosh (5):
  cooker: move EventLogWriteHandler to the top module level
  cooker: encode event objects to base64
  cooker: don't remove event file
  cooker: replace EventLogWriteHandler with namedtuple
  cooker: clean up EvertWriter

 bitbake/lib/bb/cooker.py | 114 +++++++++++++++++++++--------------------------
 1 file changed, 51 insertions(+), 63 deletions(-)

--
Regards,
Ed



More information about the bitbake-devel mailing list