Patchwork [17/28] classes/packagegroup: disable superfluous tasks

login
register
mail settings
Submitter Paul Eggleton
Date Sept. 3, 2012, 10:30 a.m.
Message ID <a23d24ec830c9f01d9177708714e39377ac8edb5.1346668109.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/35655/
State New
Headers show

Comments

Paul Eggleton - Sept. 3, 2012, 10:30 a.m.
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@linux.intel.com>
---
 meta/classes/packagegroup.bbclass |    9 +++++++++
 1 file changed, 9 insertions(+)

Patch

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"