[v2,RESEND,1/2] fix: copy boot files after finishing all rootfs operations

Message ID 20240917091507.1714450-1-felix.moessbauer@siemens.com
State Under Review
Headers show
Series [v2,RESEND,1/2] fix: copy boot files after finishing all rootfs operations | expand

Commit Message

MOESSBAUER, Felix Sept. 17, 2024, 9:15 a.m. UTC
By that, we make sure that all operations (including initrd generation)
are finished before transitioning into the imaging step. Also, this
structures the build into the rootfs and the imaging steps.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 meta/classes/image.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index c29d9e26..0dea06fa 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -363,7 +363,7 @@  do_copy_boot_files() {
         cp -f "$dtb" "${DEPLOYDIR}/"
     done
 }
-addtask copy_boot_files before do_rootfs_postprocess after do_rootfs_install
+addtask copy_boot_files before do_image_tools after do_rootfs
 
 python do_copy_boot_files_setscene () {
     sstate_setscene(d)