diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-27 12:33:39 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-28 23:32:16 +0000 |
commit | 60662a2117373648a0a41b3556e180f7a7350a47 (patch) | |
tree | 3464da324e8cd57835ac2d7c644caef5d40a1ef7 /meta/classes | |
parent | 48f79758ea1a4a2abac38566e411e8d0a6f66ac5 (diff) | |
download | poky-60662a2117373648a0a41b3556e180f7a7350a47.tar.gz |
image/kernelsrc/packagegroups/recipes: Remove uneeded noexec tasks
We used to have issues removing tasks like do_fetch due to implications
for targets like world and universe. These have now been resolved.
Removing uneeded tasks has advantages compared to noexec since it means
that accidentally left in dependencies are no longer needed/processed
(e.g. do_patch depends on quilt-native).
This cleans up a number of cases which local analysis highlighted as
being unneeded leading to slightly cleaner task graphs.
(From OE-Core rev: 4e6ee37e09c60e83c0dfd844ba9cf8a07507f099)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/kernelsrc.bbclass | 6 | ||||
-rw-r--r-- | meta/classes/packagegroup.bbclass | 12 |
3 files changed, 10 insertions, 10 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 76146c92cd..71b7ebc958 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -623,7 +623,7 @@ do_compile[noexec] = "1" | |||
623 | do_install[noexec] = "1" | 623 | do_install[noexec] = "1" |
624 | deltask do_populate_sysroot | 624 | deltask do_populate_sysroot |
625 | do_package[noexec] = "1" | 625 | do_package[noexec] = "1" |
626 | do_package_qa[noexec] = "1" | 626 | deltask do_package_qa |
627 | do_packagedata[noexec] = "1" | 627 | do_packagedata[noexec] = "1" |
628 | do_package_write_ipk[noexec] = "1" | 628 | do_package_write_ipk[noexec] = "1" |
629 | do_package_write_deb[noexec] = "1" | 629 | do_package_write_deb[noexec] = "1" |
diff --git a/meta/classes/kernelsrc.bbclass b/meta/classes/kernelsrc.bbclass index 9efd46a92d..675d40ec9a 100644 --- a/meta/classes/kernelsrc.bbclass +++ b/meta/classes/kernelsrc.bbclass | |||
@@ -1,7 +1,7 @@ | |||
1 | S = "${STAGING_KERNEL_DIR}" | 1 | S = "${STAGING_KERNEL_DIR}" |
2 | do_fetch[noexec] = "1" | 2 | deltask do_fetch |
3 | do_unpack[depends] += "virtual/kernel:do_patch" | 3 | deltask do_unpack |
4 | do_unpack[noexec] = "1" | 4 | do_patch[depends] += "virtual/kernel:do_patch" |
5 | do_patch[noexec] = "1" | 5 | do_patch[noexec] = "1" |
6 | do_package[depends] += "virtual/kernel:do_populate_sysroot" | 6 | do_package[depends] += "virtual/kernel:do_populate_sysroot" |
7 | KERNEL_VERSION = "${@get_kernelversion_file("${STAGING_KERNEL_BUILDDIR}")}" | 7 | KERNEL_VERSION = "${@get_kernelversion_file("${STAGING_KERNEL_BUILDDIR}")}" |
diff --git a/meta/classes/packagegroup.bbclass b/meta/classes/packagegroup.bbclass index ad6c8b0e35..4af4a014b0 100644 --- a/meta/classes/packagegroup.bbclass +++ b/meta/classes/packagegroup.bbclass | |||
@@ -40,12 +40,12 @@ python () { | |||
40 | DEPCHAIN_DBGDEFAULTDEPS = "1" | 40 | DEPCHAIN_DBGDEFAULTDEPS = "1" |
41 | 41 | ||
42 | # We only need the packaging tasks - disable the rest | 42 | # We only need the packaging tasks - disable the rest |
43 | do_fetch[noexec] = "1" | 43 | deltask do_fetch |
44 | do_unpack[noexec] = "1" | 44 | deltask do_unpack |
45 | do_patch[noexec] = "1" | 45 | deltask do_patch |
46 | do_configure[noexec] = "1" | 46 | deltask do_configure |
47 | do_compile[noexec] = "1" | 47 | deltask do_compile |
48 | do_install[noexec] = "1" | 48 | deltask do_install |
49 | deltask do_populate_sysroot | 49 | deltask do_populate_sysroot |
50 | 50 | ||
51 | python () { | 51 | python () { |