]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
spdx30_tasks.py: switch from exists to isfile checking debugsrc
authorMark Hatle <mark.hatle@amd.com>
Wed, 24 Jul 2024 23:39:17 +0000 (18:39 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 26 Jul 2024 10:54:28 +0000 (11:54 +0100)
commit5262f9bbf86c4e529ff988d465ddad2d1db0b073
tree956696d9eef1dea55ee64b325c6bba15377b58b3
parentc7535ecaccb72ef21a61f9aec5c68e61fb4f6fb6
spdx30_tasks.py: switch from exists to isfile checking debugsrc

Same change as previously made to the create-spdx-2.2.bbclass,
while debugsrc is almost always a file (or link), there are apparently
cases where a directory could be returned from the dwarfsrcfiles
processing.  When this happens, the hashing fails and an error results
when building the SPDX documents.

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/spdx30_tasks.py