]> code.ossystems Code Review - openembedded-core.git/commit
buildhistory: rename build-id to build-id.txt and add more info
authorMartin Jansa <martin.jansa@gmail.com>
Fri, 25 Jul 2014 13:15:38 +0000 (15:15 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Aug 2014 19:43:11 +0000 (20:43 +0100)
commit6db6c74f2876df7a183990426bb4262972966441
treeb6f24e45dc5c816b5b7e99ffed42ef1ccc4c8fcb
parent8b27ddab61b2ae0b3b502b64d3ad76e72fdb9b60
buildhistory: rename build-id to build-id.txt and add more info

* use .txt extension like other reports (e.g. image-info.txt) it's
  also useful when looking at the file from web server which doesn't
  have text/plain as default content-type
* include whole BUILDCFG_HEADER/BUILDCFG_FUNCS instead of just layer
  info
* this makes it easier for distro to include more fields without the
  need to modify buildhistory.bbclass
* currently it adds following fields:
  Build Configuration:
  BB_VERSION        = "1.23.1"
  BUILD_SYS         = "x86_64-linux"
  NATIVELSBSTRING   = "Gentoo-2.2"
  TARGET_SYS        = "x86_64-oe-linux"
  MACHINE           = "qemux86-64"
  DISTRO            = "shr"
  DISTRO_VERSION    = "2013.07-next-20140725"
  TUNE_FEATURES     = "m64 core2"
  TARGET_FPU        = ""

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildhistory.bbclass