From patchwork Mon Sep 3 10:30:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [17/28] classes/packagegroup: disable superfluous tasks Date: Mon, 03 Sep 2012 10:30:37 -0000 From: Paul Eggleton X-Patchwork-Id: 35655 Message-Id: To: openembedded-core@lists.openembedded.org 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. Signed-off-by: Paul Eggleton --- meta/classes/packagegroup.bbclass | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/meta/classes/packagegroup.bbclass b/meta/classes/packagegroup.bbclass index 2e07529..f6b7d2d 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"