From 193727a2c4ab6464f95e8d6c99ba3a131b55c03c Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Thu, 30 Aug 2012 22:07:05 +0100 Subject: [PATCH] classes/packagegroup: disable superfluous tasks Disable tasks other than do_package* (similar to how image.bbclass disables everything except do_rootfs). This saves a little time as well as neatly avoiding the LIC_FILES_CHKSUM verification within do_configure which is not needed for package groups. (From OE-Core rev: fde2b0db798f03cf297a0d466a9c3a444f1321f3) Signed-off-by: Paul Eggleton Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/classes/packagegroup.bbclass | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/meta/classes/packagegroup.bbclass b/meta/classes/packagegroup.bbclass index 76a6aa5..e0e5b1c 100644 --- a/meta/classes/packagegroup.bbclass +++ b/meta/classes/packagegroup.bbclass @@ -33,3 +33,12 @@ python () { # We don't want to look at shared library dependencies for the # dbg packages DEPCHAIN_DBGDEFAULTDEPS = "1" + +# We only need the packaging tasks - disable the rest +do_fetch[noexec] = "1" +do_unpack[noexec] = "1" +do_patch[noexec] = "1" +do_configure[noexec] = "1" +do_compile[noexec] = "1" +do_install[noexec] = "1" +do_populate_sysroot[noexec] = "1" -- 2.7.4