summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-extended/xen/xen-hypervisor.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/recipes-extended/xen/xen-hypervisor.inc b/recipes-extended/xen/xen-hypervisor.inc
index 3bfee8ee..6a75d166 100644
--- a/recipes-extended/xen/xen-hypervisor.inc
+++ b/recipes-extended/xen/xen-hypervisor.inc
@@ -76,11 +76,13 @@ do_deploy() {
76# at least run afer that task has completed 76# at least run afer that task has completed
77# - the hypervisor binaries may be included in the image filesystem, so we 77# - the hypervisor binaries may be included in the image filesystem, so we
78# must ensure that the binaries deployed match what is staged in the sysroot: 78# must ensure that the binaries deployed match what is staged in the sysroot:
79# so do deploy must run after do_populate_sysroot -- which is always after 79# so do_deploy must run after do_populate_sysroot and after do_compile is
80# do_compile, so that handles 'after do_compile' too 80# also needed for when having rm_work and bitbake needs to re-run do_deploy,
81# we ensure that the ${B} is re-generated, otherwise the deploy-xen will be
82# empty
81# - add the task before do_build to ensure that deployment has completed when 83# - add the task before do_build to ensure that deployment has completed when
82# the recipe build done stamp is written 84# the recipe build done stamp is written
83addtask deploy after do_populate_sysroot before do_build 85addtask deploy after do_compile do_populate_sysroot before do_build
84# To ensure that a deployed hypervisor has matching tools, add a dependency to 86# To ensure that a deployed hypervisor has matching tools, add a dependency to
85# make sure that the tools have built and been staged: 87# make sure that the tools have built and been staged:
86do_deploy[depends] += "xen-tools:do_populate_sysroot" 88do_deploy[depends] += "xen-tools:do_populate_sysroot"