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:17 +0100 |
| commit | 6ef40f4d1ed1586dba37ac8e33834c5cf1ea5dc0 (patch) | |
| tree | 06631744f82ba320e3a625dd73a43ebf495408d7 /meta/classes/uboot-extlinux-config.bbclass | |
| parent | d434e8086ae9d8a9c9a7d40526cc85e3ace799a9 (diff) | |
| download | poky-6ef40f4d1ed1586dba37ac8e33834c5cf1ea5dc0.tar.gz | |
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>
Diffstat (limited to 'meta/classes/uboot-extlinux-config.bbclass')
| -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}" | |||
| 68 | 68 | ||
| 69 | UBOOT_EXTLINUX_CONFIG = "${B}/extlinux.conf" | 69 | UBOOT_EXTLINUX_CONFIG = "${B}/extlinux.conf" |
| 70 | 70 | ||
| 71 | python create_extlinux_config() { | 71 | python do_create_extlinux_config() { |
| 72 | if d.getVar("UBOOT_EXTLINUX") != "1": | 72 | if d.getVar("UBOOT_EXTLINUX") != "1": |
| 73 | return | 73 | return |
| 74 | 74 | ||
| @@ -149,4 +149,4 @@ python create_extlinux_config() { | |||
| 149 | bb.fatal('Unable to open %s' % (cfile)) | 149 | bb.fatal('Unable to open %s' % (cfile)) |
| 150 | } | 150 | } |
| 151 | 151 | ||
| 152 | do_install[prefuncs] += "create_extlinux_config" | 152 | addtask create_extlinux_config before do_install do_deploy after do_compile |
