]> code.ossystems Code Review - openembedded-core.git/commit
buildhistory: allow disabling image and/or package history
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 16 Mar 2012 11:37:22 +0000 (11:37 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Mar 2012 13:31:33 +0000 (13:31 +0000)
commitdd6a521045d5538a8ebf6775899d5e1319bea427
tree8a77c4b286e8f082be4d4ef4710f1cf3f2f86357
parent406d025a15ff15a2edf39f00e0ea4e6b821b224a
buildhistory: allow disabling image and/or package history

Add a BUILDHISTORY_FEATURES variable which can be set to "" to disable
buildhistory with the class still inherited.

BUILDHISTORY_FEATURES by default contains two items - image and package.
You can use these to disable the image and package history functions
individually - this is particularly useful if you want to get the image
contents and dependency graphs but don't need the package history.

Additionally, ensure we quit shell procedures gracefully by using return
instead of exit.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/classes/buildhistory.bbclass