<br><br><div class="gmail_quote">On Tue, Nov 20, 2012 at 11:17 AM, Richard Purdie <span dir="ltr"><<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This provides a slightly neater way of ensuring fetch/unpack get<br>
executed (image.bbclass marks them as noexec) since I found the<br>
current approach harder to understand at first glance.<br>
<br>
Signed-off-by: Richard Purdie <<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>><br></blockquote><div><br></div><div>Agreed.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
---<br>
diff --git a/meta/recipes-core/images/<a href="http://build-appliance-image.bb" target="_blank">build-appliance-image.bb</a> b/meta/recipes-core/images/<a href="http://build-appliance-image.bb" target="_blank">build-appliance-image.bb</a><br>
index 59ccb98..bf1e585 100644<br>
--- a/meta/recipes-core/images/<a href="http://build-appliance-image.bb" target="_blank">build-appliance-image.bb</a><br>
+++ b/meta/recipes-core/images/<a href="http://build-appliance-image.bb" target="_blank">build-appliance-image.bb</a><br>
@@ -68,11 +68,11 @@ fakeroot do_populate_poky_src () {<br>
<br>
IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; "<br>
<br>
-python do_get_poky_src () {<br>
- bb.build.exec_func('base_do_fetch', d)<br>
- bb.build.exec_func('base_do_unpack', d)<br>
+python () {<br>
+ # Ensure we run these usually noexec tasks<br>
+ d.delVarFlag("do_fetch", "noexec")<br>
+ d.delVarFlag("do_unpack", "noexec")<br>
}<br>
-addtask do_get_poky_src before do_rootfs<br></blockquote><div><br></div><div>I'd say for include a comment in code so it is easy to understand why you're drpping the flag.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
create_bundle_files () {<br>
cd ${WORKDIR}<br>
<br>
<br>
<br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core" target="_blank">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Otavio Salvador O.S. Systems<br>E-mail: <a href="mailto:otavio@ossystems.com.br" target="_blank">otavio@ossystems.com.br</a> <a href="http://www.ossystems.com.br" target="_blank">http://www.ossystems.com.br</a><br>
Mobile: +55 53 9981-7854 <a href="http://projetos.ossystems.com.br" target="_blank">http://projetos.ossystems.com.br</a><br><br>