]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: ensure symlink_kernsrc task gets run even with externalsrc
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Fri, 25 Sep 2020 14:05:44 +0000 (16:05 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 28 Sep 2020 13:15:45 +0000 (14:15 +0100)
commita2b50b74d609ce079ab36b82d4c7c3539fb56485
treea38015496e72fb69fdcdd979a3c3d96650b407bb
parentf1554e8bd40c640fd58daac18ecf7b458e754109
kernel.bbclass: ensure symlink_kernsrc task gets run even with externalsrc

Commit c5dfc2586b41 (kernel.bbclass: run do_symlink_kernsrc before
do_patch) fixed a race between do_symlink_kernsrc and
do_populate_lic. However, I missed the fact that when
externalsrc.bbclass is in use, the do_patch task doesn't exist,
meaning that do_symlink_kernsrc now doesn't get run at all, breaking
the build.

We need this task to run regardless of whether do_patch exists or not,
so reinstate the configure->symlink_kernsrc dependency explicitly.

Fixes: c5dfc2586b41 (kernel.bbclass: run do_symlink_kernsrc before
do_patch)
Reported-by: Chanho Park <parkch98@gmail.com>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass