diff options
author | Staffan Rydén <staffan.ryden@axis.com> | 2023-07-20 13:02:56 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-08-15 06:18:49 -1000 |
commit | f28f7aa98b3ea6e33a1093ef7ffb90951a3520f6 (patch) | |
tree | b56f0d5e8be1688639895b021aa3de069890bc52 /scripts/lib/resulttool/regression.py | |
parent | d7e4741091a4eb7ba98b1f600d001d6cadacb06a (diff) | |
download | poky-f28f7aa98b3ea6e33a1093ef7ffb90951a3520f6.tar.gz |
kernel: Fix path comparison in kernel staging dir symlinking
Due to an oversight in the do_symlink_kernsrc function, the path
comparison between "S" and "STAGING_KERNEL_DIR" is broken. The code
obtains both variables, but modifies the local copy of "S" before
comparing them, causing the comparison to always return false.
This can cause the build to fail when the EXTERNALSRC flag is enabled,
since the code will try to create a symlink even if one already exists.
This patch resolves the issue by comparing the variables before they are
modified.
(From OE-Core rev: 76ca96ebde8c318e32d4bf65714a6241965b0b8f)
Signed-off-by: Staffan Rydén <staffan.ryden@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit afd2038ef8a66a5e6433be31a14e1eb0d9f9a1d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/resulttool/regression.py')
0 files changed, 0 insertions, 0 deletions