All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qemuboot.bbclass: do_write_qemuboot_conf after wic
@ 2021-12-07  8:36 Adrian Freihofer
  0 siblings, 0 replies; only message in thread
From: Adrian Freihofer @ 2021-12-07  8:36 UTC (permalink / raw)
  To: openembedded-core; +Cc: Adrian Freihofer

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 <adrian.freihofer@siemens.com>
---
 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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-07  8:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-07  8:36 [PATCH] qemuboot.bbclass: do_write_qemuboot_conf after wic Adrian Freihofer

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.