summaryrefslogtreecommitdiffstats
path: root/meta/lib/patchtest/patchtest_patterns.py
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2025-02-13 10:18:17 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-02-18 11:56:03 +0000
commit54e4a89a758906102067dca19f1d3212e0d76ad9 (patch)
tree23d30f8d36ff0f00648a354920d48c2d5414923b /meta/lib/patchtest/patchtest_patterns.py
parentd55cd3fc39b638b4b765b07c484e58880996febf (diff)
downloadpoky-54e4a89a758906102067dca19f1d3212e0d76ad9.tar.gz
spdx30: Improve os.walk() handling
There have been errors seen when assembling root file system SPDX documents where they will references files that don't exist in the package SPDX. The speculation is that this is caused by os.walk() ignoring errors when walking, causing files to be omitted. Improve the code by adding an error handler to os.walk() to report errors when they occur. In addition, sort the files and directories while walking to ensure consistent ordering of the file SPDX IDs. (From OE-Core rev: 86b581e80637cd8136ce7a7e95db94d9553d2f60) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/patchtest/patchtest_patterns.py')
0 files changed, 0 insertions, 0 deletions