[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7878/8267] uboot-extlinux: fix extlinux creation race (take 2)



commit 6ef40f4d1ed1586dba37ac8e33834c5cf1ea5dc0
Author: André Draszik <adraszik tycoint com>
Date:   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)
    
    (From OE-Core rev: e44b72ab45c757cc83c7856c118588f1af299790)
    
    Signed-off-by: André Draszik <adraszik tycoint com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/uboot-extlinux-config.bbclass |    4 ++--
 1 files 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]