diff options
author | André Draszik <adraszik@tycoint.com> | 2017-09-21 12:29:52 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-25 14:14:04 +0100 |
commit | e44b72ab45c757cc83c7856c118588f1af299790 (patch) | |
tree | 18b3c3ec911cc571391850b0e29b330facddc925 | |
parent | 7da4c0a56eb2027b3e36b9e42f1f83dfb02bb920 (diff) | |
download | openembedded-core-e44b72ab45c757cc83c7856c118588f1af299790.tar.gz openembedded-core-e44b72ab45c757cc83c7856c118588f1af299790.tar.bz2 openembedded-core-e44b72ab45c757cc83c7856c118588f1af299790.zip |
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@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | 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 8447a047ee..61dff14b7c 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 |