diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2020-08-25 16:35:15 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-08-26 09:03:59 +0100 |
commit | c5dfc2586b4135cc86e91bb04fed837daf505676 (patch) | |
tree | fa3a071218b58a1e91f1dda24ac84312d69aed20 /meta-skeleton | |
parent | f22b4eba98b3707d7f6daa4277414cecb3e5ee6b (diff) | |
download | openembedded-core-contrib-c5dfc2586b4135cc86e91bb04fed837daf505676.tar.gz |
kernel.bbclass: run do_symlink_kernsrc before do_patch
There's a race between do_symlink_kernsrc and do_populate_lic, since
the latter is ordered "after do_patch"; so the two may run in
parallel. In some cases, that actually causes do_populate_lic to fail
if it happens to look for a license file somewhere under ${S} in the
short window after shutil.move and before the symlink has been
created.
Fix that by simply ordering symlink_kernsrc before do_patch. Any task
that pokes around in ${S} looking for files should be ordered after
do_patch, so this should also fix similar latent races with other ad
hoc tasks.
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-skeleton')
0 files changed, 0 insertions, 0 deletions