In order to keep do_install_overlay to reexecute it's needed to keep
stamps of fetching tasks.

Without that do_install_overlay would reexecute and do_image as well but
do_image will crash since there is no rootfs.

Signed-off-by: Geoffrey Levillain <[email protected]>
---
 meta/classes/rm_work.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass
index 054c93716e..c0e7c2a0a6 100644
--- a/meta/classes/rm_work.bbclass
+++ b/meta/classes/rm_work.bbclass
@@ -71,6 +71,10 @@ do_rm_work () {
                 i=dummy
                 break
                 ;;
+            *do_fetch*|*do_unpack*|*do_patch*|*install_overlay*)
+                i=dummy
+                break
+                ;;
             
*do_rootfs*|*do_image*|*do_bootimg*|*do_bootdirectdisk*|*do_vmimg*|*do_write_qemuboot_conf*)
                 i=dummy
                 break
-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to