[OE-core] [PATCH 1/2] u-boot: fix extlinux creation race

Jack Mitchell ml at embed.me.uk
Sat Mar 11 14:16:02 UTC 2017


From: Jack Mitchell <jack at embed.me.uk>

There was a race condition in the uboot-extlinux bbclass where
only a half written extlinux.conf would be put in the deploy
directory. Fix this by adding the deploy task after the do_install
rather than after the do_compile.

Signed-off-by: Jack Mitchell <jack at embed.me.uk>
---
 meta/recipes-bsp/u-boot/u-boot.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc
index c2bcf99840..aa21c0e556 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -304,4 +304,4 @@ do_deploy () {
     fi
 }
 
-addtask deploy before do_build after do_compile
+addtask deploy before do_build after do_install
-- 
2.12.0



More information about the Openembedded-core mailing list