summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/create_buildsys_python.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-10-27 16:29:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-10-27 17:48:11 +0100
commit116c0442128b27a33ef0b5b88f974d6ad78651bc (patch)
tree4b71faaa8e911b1a3bf00d520f7782f6e7019ec9 /scripts/lib/recipetool/create_buildsys_python.py
parentaf339676ee8b364849dc8eb8f5b8ff5f0db40f4e (diff)
downloadpoky-116c0442128b27a33ef0b5b88f974d6ad78651bc.tar.gz
scripts/patchreview: rework patch detection
A previous patch[1] added the ability to allow the search pattern for patches to be changed, so that patchreview can be used across the entire meta-oe repository by changing the patterns. However, this means the caller needs to write long patterns when calling patchreview. Instead, we can see if the specified directory contains a layer by checking if conf/layer.conf exists. If it does, then search for patches inside this directory. If it doesn't, assume that the specified directory is a repository that contains sublayers (such as meta-openembedded) and look through each of the directories that match the pattern meta-*. This means patchreview can both scan either a single layer (eg .../poky/meta) or a repository of sublayers (eg .../meta-openembedded). [1] oe-core 599046ea9302af0cf856d3fcd827f6a2be75b7e1 (From OE-Core rev: a3a868519beab1b9cac94fefd7dbeffb09d047e9) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create_buildsys_python.py')
0 files changed, 0 insertions, 0 deletions