summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/build_image.py
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2025-03-19 00:25:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-20 11:29:04 +0000
commitc0f3bc79b3e5d5b13c950cadfe558bbcd10187a0 (patch)
tree68323a91fb924088b144fd9d16c539a3b38c18ea /scripts/lib/devtool/build_image.py
parent0e32e1cb260aac59cabbbeba26f8f844978a75a0 (diff)
downloadpoky-c0f3bc79b3e5d5b13c950cadfe558bbcd10187a0.tar.gz
devtool: reset: Escape command line input used in regular expression
Running, e.g., `devtool reset sdbus-c++` would result in the following error: re.error: multiple repeat at position 35 This was due to the ++ in the recipe name, which would be treated as an incorrect regular expression in _reset(). Use re.escape() to make sure all characters in the recipe name are treated literally. (From OE-Core rev: 6e73bd9b3e6d529752db93879f2c0ed53873dd1a) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/build_image.py')
0 files changed, 0 insertions, 0 deletions