aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/images
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:51:51 +0000
commit84021fd694d0a7bb1e4f49c0f7c46a0fbd178924 (patch)
treeb7cbe47a5983c8af2f33b1ab500519e3f40edc61 /meta/recipes-core/images
parent969d10d0aa5537a119ed9be9e8321dbd73d160fe (diff)
downloadopenembedded-core-contrib-84021fd694d0a7bb1e4f49c0f7c46a0fbd178924.tar.gz
openembedded-core-contrib-84021fd694d0a7bb1e4f49c0f7c46a0fbd178924.tar.bz2
openembedded-core-contrib-84021fd694d0a7bb1e4f49c0f7c46a0fbd178924.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/images')
-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 59ccb98b028..80cbbecd4ba 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 () {
IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; "
-python do_get_poky_src () {
- bb.build.exec_func('base_do_fetch', d)
- bb.build.exec_func('base_do_unpack', d)
+python () {
+ # Ensure we run these usually noexec tasks
+ d.delVarFlag("do_fetch", "noexec")
+ d.delVarFlag("do_unpack", "noexec")
}
-addtask do_get_poky_src before do_rootfs
create_bundle_files () {
cd ${WORKDIR}