]> code.ossystems Code Review - openembedded-core.git/commit
classes/buildhistory: add new output history collection class
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 30 Nov 2011 16:48:47 +0000 (16:48 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Dec 2011 16:23:27 +0000 (16:23 +0000)
commit14acb530a27a3b088d0bfd56db291f4e72ace8ab
tree5e568844017e062e0399c55bb098ac4cc64dd44f
parent09f79dd245ab82bf105b6efeb1dfbf2d180d9fc8
classes/buildhistory: add new output history collection class

Create a new build output history reporting class, using testlab.bbclass
from meta-oe as a base. This records information from images produced by
the build process in text files structured suitably for tracking within
a git repository, thus enabling monitoring of changes over time.

Build history collection can be enabled simply by adding the following
to your local.conf:

INHERIT += "buildhistory"

The output after a build can then be found in BUILDHISTORY_DIR (defaults to
TMPDIR/buildhistory). If you set up this directory as a git repository and
set BUILDHISTORY_COMMIT to "1" in local.conf, the build history data will
be committed on every build.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/classes/buildhistory.bbclass [new file with mode: 0644]
meta/classes/rootfs_ipk.bbclass
meta/classes/rootfs_rpm.bbclass