mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 03:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
d434e8086a
commit
6ef40f4d1e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user