]> 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>
Thu, 1 Dec 2011 16:53:04 +0000 (16:53 +0000)
commit508ff624fea705eb93cf2cc1e0c9c42cb817acf8
tree92f4901c7375ffb16776649ec9b8e1080dd3e295
parentc1bca5d95051362320008f16d8f5acd87faa34ac
classes/buildhistory: add new output history collection class

Create a new build output history reporting class, using testlab.bbclass
from meta-oe and packagehistory.bbclass as a base. This records information
from packages and images output from 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