Skip to contentSkip to conversation

Xen: fix do_deploy dependencies

PATCH In review Bertrand Marquis 2 participants 3 messages Feb 14, 2020 – Feb 27, 2020 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Xen: fix do_deploy dependencies

do_deploy is using the files installed during do_install and it must be executed after it but before do_build. This is fixing SSTATE behaviour which had previously an empty scene in some cases.

Change-Id I04b1f652c697ed0bc7e262571dd03e123ac096f6
---
 recipes-extended/xen/xen.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-extended/xen/xen.inc +3 -1
index 36ab78e..41b1983 100644
@@ -1099,7 +1099,9 @@ do_deploy() {
     fi
 }
 
-addtask deploy after do_populate_sysroot
+# do_deploy is using files created during do_install so force it to be called
+# after do_install but before do_build
+addtask deploy before do_build after do_install
 
 # Enable use of menuconfig directly from bitbake and also within the devshell
 OE_TERMINAL_EXPORTS += "HOST_EXTRACFLAGS HOSTLDFLAGS TERMINFO"
Signature · 1 line
2.17.1
#1 lore raw

merged.

Bruce

In message: [meta-virtualization] [PATCH] Xen: fix do_deploy dependencies

Quoted 30 lines · on 14/02/2020 Bertrand Marquis wrote:

do_deploy is using the files installed during do_install and it must be executed after it but before do_build. This is fixing SSTATE behaviour which had previously an empty scene in some cases.

Change-Id I04b1f652c697ed0bc7e262571dd03e123ac096f6
---
 recipes-extended/xen/xen.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-extended/xen/xen.inc +3 -1
index 36ab78e..41b1983 100644
@@ -1099,7 +1099,9 @@ do_deploy() {
     fi
 }
 
-addtask deploy after do_populate_sysroot
+# do_deploy is using files created during do_install so force it to be called
+# after do_install but before do_build
+addtask deploy before do_build after do_install
 
 # Enable use of menuconfig directly from bitbake and also within the devshell
 OE_TERMINAL_EXPORTS += "HOST_EXTRACFLAGS HOSTLDFLAGS TERMINFO"
Signature · 1 line
2.17.1

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

ooops. Misfire on the email.

This isn't merged and can be revisited once I have the Xen updates in the tree.

Bruce

Quoted 41 lines · Bruce Ashfield via Lists.Yoctoproject.Org

merged.

Bruce

In message: [meta-virtualization] [PATCH] Xen: fix do_deploy dependencies

Quoted 30 lines · on 14/02/2020 Bertrand Marquis wrote:

do_deploy is using the files installed during do_install and it must be executed after it but before do_build. This is fixing SSTATE behaviour which had previously an empty scene in some cases.

Change-Id I04b1f652c697ed0bc7e262571dd03e123ac096f6
---
 recipes-extended/xen/xen.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-extended/xen/xen.inc +3 -2
index 36ab78e..41b1983 100644
@@ -1099,7 +1099,9 @@ do_deploy() {
     fi
 }
 
-addtask deploy after do_populate_sysroot
+# do_deploy is using files created during do_install so force it to be called
+# after do_install but before do_build
+addtask deploy before do_build after do_install
 
 # Enable use of menuconfig directly from bitbake and also within the devshell
 OE_TERMINAL_EXPORTS += "HOST_EXTRACFLAGS HOSTLDFLAGS TERMINFO"
--

2.17.1

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II