All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization] [PATCH 1/2] xen: run do_deploy after do_compile and do_populate_sysroot
@ 2020-10-27 15:55 Diego Sueiro
  2020-10-27 15:55 ` [meta-virtualization] [PATCH 2/2] xen: extend SYSROOT_DIRS Diego Sueiro
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Diego Sueiro @ 2020-10-27 15:55 UTC (permalink / raw)
  To: meta-virtualization; +Cc: nd, Diego Sueiro, christopher.w.clark, cardoe

When having rm_work and bitbake needs to re-run do_deploy, we need to ensure
that the ${B} is re-generated, otherwise the deploy-xen will be empty.

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
---
 recipes-extended/xen/xen-hypervisor.inc | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/recipes-extended/xen/xen-hypervisor.inc b/recipes-extended/xen/xen-hypervisor.inc
index 3bfee8e..6a75d16 100644
--- a/recipes-extended/xen/xen-hypervisor.inc
+++ b/recipes-extended/xen/xen-hypervisor.inc
@@ -76,11 +76,13 @@ do_deploy() {
 #   at least run afer that task has completed
 # - the hypervisor binaries may be included in the image filesystem, so we
 #   must ensure that the binaries deployed match what is staged in the sysroot:
-#   so do deploy must run after do_populate_sysroot -- which is always after
-#   do_compile, so that handles 'after do_compile' too
+#   so do_deploy must run after do_populate_sysroot and after do_compile is
+#   also needed for when having rm_work and bitbake needs to re-run do_deploy,
+#   we ensure that the ${B} is re-generated, otherwise the deploy-xen will be
+#   empty
 # - add the task before do_build to ensure that deployment has completed when
 #   the recipe build done stamp is written
-addtask deploy after do_populate_sysroot before do_build
+addtask deploy after do_compile do_populate_sysroot before do_build
 # To ensure that a deployed hypervisor has matching tools, add a dependency to
 # make sure that the tools have built and been staged:
 do_deploy[depends] += "xen-tools:do_populate_sysroot"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-11-04  8:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-27 15:55 [meta-virtualization] [PATCH 1/2] xen: run do_deploy after do_compile and do_populate_sysroot Diego Sueiro
2020-10-27 15:55 ` [meta-virtualization] [PATCH 2/2] xen: extend SYSROOT_DIRS Diego Sueiro
2020-10-28  8:51   ` Bertrand Marquis
2020-10-28  8:51 ` [meta-virtualization] [PATCH 1/2] xen: run do_deploy after do_compile and do_populate_sysroot Bertrand Marquis
2020-10-28 19:25   ` Christopher Clark
     [not found] ` <1641E48767A9AF65.22812@lists.yoctoproject.org>
2020-10-30  8:43   ` [meta-virtualization] [PATCH 2/2] xen: extend SYSROOT_DIRS Diego Sueiro
2020-10-30 18:08     ` Christopher Clark
2020-11-02  8:07       ` Diego Sueiro
2020-11-02  8:13 ` [meta-virtualization] [PATCH v2 2/2] xen: extend SYSROOT_DIRS to include installed binaries Diego Sueiro
2020-11-03  0:58   ` Christopher Clark
2020-11-03 21:29   ` Bruce Ashfield
2020-11-04  8:56   ` Bertrand Marquis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.