* [PATCH] package: Remove the before do_build constraint of the do_package task
@ 2014-02-12 12:12 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2014-02-12 12:12 UTC (permalink / raw)
To: openembedded-core
Currently, if you bitbake xxxx, it will restore the package_write_,
packagedata, populate_sysroot *and* the package data from sstate.
We generally care about the packagedata and the actual packages, we
no longer need/care about the do_package data itself unless something
is going to repackage.
By relaxing this constraint (and relying on the packagedata target), we
can save things being installed from sstate and hence speedup build times.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index b54df60..042d74c 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1972,7 +1972,7 @@ python do_package () {
do_package[dirs] = "${SHLIBSWORKDIR} ${PKGDESTWORK} ${D}"
do_package[vardeps] += "${PACKAGEBUILDPKGD} ${PACKAGESPLITFUNCS} ${PACKAGEFUNCS} ${@gen_packagevar(d)}"
-addtask package before do_build after do_install
+addtask package after do_install
PACKAGELOCK = "${STAGING_DIR}/package-output.lock"
SSTATETASKS += "do_package"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-02-12 12:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-12 12:12 [PATCH] package: Remove the before do_build constraint of the do_package task Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox