diff options
author | Joel Stanley <joel@jms.id.au> | 2023-08-04 12:06:10 -0500 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-08-18 03:57:05 -1000 |
commit | 870d88bff479fd1fe8f1eb9ec97e0cf5fa27f0a0 (patch) | |
tree | 48e61fdebe618a1155aadc509722648dc8926474 /scripts/lib/scriptpath.py | |
parent | c17b8013ce39cb07825e069fdd5592dd535a6b2d (diff) | |
download | poky-870d88bff479fd1fe8f1eb9ec97e0cf5fa27f0a0.tar.gz |
kernel: don't fail if Modules.symvers doesn't exist
Kernels that do not use modules do not have the Modules.symvers file,
which causes the previous one-liner to fail. Invert the logic so that
the absence of the Modules.symvers is a passing situation but we still
get failure checking on the install operation.
(From OE-Core rev: 6fff6ce35864cfef70ffd10db3b7d5f090dd3f62)
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 856c916ffbf3438d8cf5d8bed344473bde03b56e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions