summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-20 13:17:44 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-21 16:56:00 +0000
commit15743528b2f0b5560f18e3925ae11a98dcfc2619 (patch)
tree46235216a5f84c2449382c8af84b2c4a3def5f3a /meta/recipes-core
parenteaa7c3a37111e254217263a26306018aebd7953f (diff)
downloadpoky-15743528b2f0b5560f18e3925ae11a98dcfc2619.tar.gz
build-appliance-image: Simplify fetch/unpack execution
This provides a slightly neater way of ensuring fetch/unpack get executed (image.bbclass marks them as noexec) since I found the current approach harder to understand at first glance. (From OE-Core rev: 84021fd694d0a7bb1e4f49c0f7c46a0fbd178924) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/images/build-appliance-image.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-core/images/build-appliance-image.bb b/meta/recipes-core/images/build-appliance-image.bb
index 59ccb98b02..80cbbecd4b 100644
--- a/meta/recipes-core/images/build-appliance-image.bb
+++ b/meta/recipes-core/images/build-appliance-image.bb
@@ -68,11 +68,11 @@ fakeroot do_populate_poky_src () {
68 68
69IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; " 69IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; "
70 70
71python do_get_poky_src () { 71python () {
72 bb.build.exec_func('base_do_fetch', d) 72 # Ensure we run these usually noexec tasks
73 bb.build.exec_func('base_do_unpack', d) 73 d.delVarFlag("do_fetch", "noexec")
74 d.delVarFlag("do_unpack", "noexec")
74} 75}
75addtask do_get_poky_src before do_rootfs
76 76
77create_bundle_files () { 77create_bundle_files () {
78 cd ${WORKDIR} 78 cd ${WORKDIR}