summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-06 23:09:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-07 11:35:42 +0100
commit6706c7bdd2de6e0e447d90062e74a718a8d31778 (patch)
tree75cd9221115760c703f3a56aabf9335f7ebb26cf
parent70acc4f45f53a0f163b0301576e576c62dd877f8 (diff)
downloadpoky-6706c7bdd2de6e0e447d90062e74a718a8d31778.tar.gz
image.bbclass: No need to run most tasks except do_rootfs
Running fetch/unpack/patch/compile/install etc. is pointless since the only image task that does anything is the rootfs task. Hence mark the useless tasks as noexec so we don't bother running them. (From OE-Core rev: b3d1c440feb7fd7b3e3374ca528195ab9bd3a7ce) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/image.bbclass14
1 files changed, 13 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 0b75dce1c3..05f43314b5 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -315,4 +315,16 @@ rootfs_trim_schemas () {
315 315
316EXPORT_FUNCTIONS zap_root_password remove_init_link do_rootfs make_zimage_symlink_relative set_image_autologin rootfs_update_timestamp rootfs_no_x_startup 316EXPORT_FUNCTIONS zap_root_password remove_init_link do_rootfs make_zimage_symlink_relative set_image_autologin rootfs_update_timestamp rootfs_no_x_startup
317 317
318addtask rootfs before do_build after do_install 318do_fetch[noexec] = "1"
319do_unpack[noexec] = "1"
320do_patch[noexec] = "1"
321do_configure[noexec] = "1"
322do_compile[noexec] = "1"
323do_install[noexec] = "1"
324do_populate_sysroot[noexec] = "1"
325do_package[noexec] = "1"
326do_package_write_ipk[noexec] = "1"
327do_package_write_deb[noexec] = "1"
328do_package_write_rpm[noexec] = "1"
329
330addtask rootfs before do_build