[oe-commits] Paul Eggleton : classes/buildhistory: implement history collection for SDKs
git at git.openembedded.org
git at git.openembedded.org
Sat Mar 23 11:39:38 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: c3736064483d4840e38cb1b8c13d2dd3a26b36aa
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c3736064483d4840e38cb1b8c13d2dd3a26b36aa
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date: Fri Mar 22 19:53:52 2013 +0000
classes/buildhistory: implement history collection for SDKs
SDKs are constructed in a similar manner to images, and the contents can
be influenced by a number of different factors, thus tracking the
contents of produced SDKs when buildhistory is enabled can help detect
the same kinds of issues as with images.
This required adding POPULATE_SDK_POST_HOST_COMMAND and
SDK_POSTPROCESS_COMMAND variables so that data collection functions can
be injected at the appropriate points in the SDK construction process,
as well as moving the list_installed_packages and
rootfs_list_installed_depends functions from the rootfs_{rpm,ipk,deb} to
the package_{rpm,ipk,deb} classes so they can also be called during
do_populate_sdk as well as do_rootfs.
Implements [YOCTO #3964].
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/buildhistory.bbclass | 130 ++++++++++++++++++++++----------
meta/classes/package_deb.bbclass | 28 +++++++
meta/classes/package_ipk.bbclass | 24 ++++++
meta/classes/package_rpm.bbclass | 17 ++++
meta/classes/populate_sdk_base.bbclass | 2 +
meta/classes/populate_sdk_deb.bbclass | 1 +
meta/classes/populate_sdk_ipk.bbclass | 2 +
meta/classes/populate_sdk_rpm.bbclass | 1 +
meta/classes/rootfs_deb.bbclass | 27 -------
meta/classes/rootfs_ipk.bbclass | 22 ------
meta/classes/rootfs_rpm.bbclass | 16 ----
11 files changed, 165 insertions(+), 105 deletions(-)
Diff: http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=c3736064483d4840e38cb1b8c13d2dd3a26b36aa
More information about the Openembedded-commits
mailing list