Allow to run do_write_qemuboot_conf later. The use case is to create a
cryptographically signed firmware image with wic and boot it with
runqemu. The signatures are generated by wic and forwarded to runqemu.
Therefore do_write_qemuboot_conf must be allowed to run after
do_image_wic.

Signed-off-by: Adrian Freihofer <[email protected]>
---
 meta/classes/qemuboot.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/qemuboot.bbclass b/meta/classes/qemuboot.bbclass
index 7a5afe0c1d..12c5501a99 100644
--- a/meta/classes/qemuboot.bbclass
+++ b/meta/classes/qemuboot.bbclass
@@ -89,7 +89,7 @@ QB_ROOTFS_EXTRA_OPT ?= ""
 QB_DRIVE_TYPE ?= "/dev/sd"
 
 # Create qemuboot.conf
-addtask do_write_qemuboot_conf after do_rootfs before do_image
+addtask do_write_qemuboot_conf after do_rootfs before do_image_complete
 IMGDEPLOYDIR ?= "${WORKDIR}/deploy-${PN}-image-complete"
 
 def qemuboot_vars(d):
-- 
2.31.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#159283): 
https://lists.openembedded.org/g/openembedded-core/message/159283
Mute This Topic: https://lists.openembedded.org/mt/87561067/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to