[OE-core] [PATCH 17/28] classes/packagegroup: disable superfluous tasks

Paul Eggleton paul.eggleton at linux.intel.com
Mon Sep 3 10:30:37 UTC 2012


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 <paul.eggleton at linux.intel.com>
---
 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"
-- 
1.7.9.5





More information about the Openembedded-core mailing list