diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-20 13:17:44 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-21 16:56:00 +0000 |
commit | 15743528b2f0b5560f18e3925ae11a98dcfc2619 (patch) | |
tree | 46235216a5f84c2449382c8af84b2c4a3def5f3a /meta/recipes-core | |
parent | eaa7c3a37111e254217263a26306018aebd7953f (diff) | |
download | poky-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.bb | 8 |
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 | ||
69 | IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; " | 69 | IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; " |
70 | 70 | ||
71 | python do_get_poky_src () { | 71 | python () { |
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 | } |
75 | addtask do_get_poky_src before do_rootfs | ||
76 | 76 | ||
77 | create_bundle_files () { | 77 | create_bundle_files () { |
78 | cd ${WORKDIR} | 78 | cd ${WORKDIR} |