diff options
author | Ross Burton <ross.burton@arm.com> | 2024-10-10 17:06:21 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-11 12:17:03 +0100 |
commit | c812b378e055e56e731713e72f2b5b9481b2dfb2 (patch) | |
tree | deba5bfe4e7de048aed6d2aea2a762812d72a9fa /scripts/lib/scriptpath.py | |
parent | 68e5aa9b92c37c0eaa32f42a78df86940c33858c (diff) | |
download | poky-c812b378e055e56e731713e72f2b5b9481b2dfb2.tar.gz |
insane: optimise test in package_qa_check_shebang_size
Check whether the elf is not None first, before doing os.stat() calls
on disk. Also don't check anything that isn't a file, not just FIFOs.
(From OE-Core rev: 38454a2675f38c7db55efcb67bbb8b9fef7e0bf1)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions