[oe-commits] [openembedded-core] 32/46: uboot-extlinux: fix extlinux creation race (take 2)

git at git.openembedded.org git at git.openembedded.org
Thu Sep 21 22:14:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 344a5df8dadeee3304b7986a7131f4e72208a6d4
Author: André Draszik <adraszik at tycoint.com>
AuthorDate: Thu Sep 21 12:29:52 2017 +0100

    uboot-extlinux: fix extlinux creation race (take 2)
    
    Alternative solution to original commit
    60c90398580998b2379bb438f0f75b29285135a5 ("u-boot: fix extlinux
    creation race")
    
    (Untested)
    
    Signed-off-by: André Draszik <adraszik at tycoint.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/uboot-extlinux-config.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/uboot-extlinux-config.bbclass b/meta/classes/uboot-extlinux-config.bbclass
index 8447a04..61dff14 100644
--- a/meta/classes/uboot-extlinux-config.bbclass
+++ b/meta/classes/uboot-extlinux-config.bbclass
@@ -68,7 +68,7 @@ UBOOT_EXTLINUX_MENU_DESCRIPTION_linux ??= "${DISTRO_NAME}"
 
 UBOOT_EXTLINUX_CONFIG = "${B}/extlinux.conf"
 
-python create_extlinux_config() {
+python do_create_extlinux_config() {
     if d.getVar("UBOOT_EXTLINUX") != "1":
       return
 
@@ -149,4 +149,4 @@ python create_extlinux_config() {
         bb.fatal('Unable to open %s' % (cfile))
 }
 
-do_install[prefuncs] += "create_extlinux_config"
+addtask create_extlinux_config before do_install do_deploy after do_compile

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list