[OE-core] [PATCH v2 3/3] rm_work.bbclass: Do not remove fetching and install_overlay stamps

Geoffrey Levillain geoffrey.levillain at smile.fr
Wed Feb 15 17:33:23 UTC 2017


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 <geoffrey.levillain at smile.fr>
---
 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




More information about the Openembedded-core mailing list