]> code.ossystems Code Review - openembedded-core.git/commitdiff
u-boot: fix extlinux creation race
authorJack Mitchell <jack@embed.me.uk>
Sat, 11 Mar 2017 14:16:02 +0000 (14:16 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 13 Mar 2017 09:43:05 +0000 (09:43 +0000)
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@embed.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/u-boot/u-boot.inc

index c2bcf9984023d9acdde7b3b620e28f00f4eeb34a..aa21c0e556fdeff9885af8baab64dcbf0a55418f 100644 (file)
@@ -304,4 +304,4 @@ do_deploy () {
     fi
 }
 
-addtask deploy before do_build after do_compile
+addtask deploy before do_build after do_install