poky/scripts/lib/devtool
Peter Kjellerstedt c0f3bc79b3 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>
2025-03-20 11:29:04 +00:00
..
ide_plugins devtool: ide-sdk prefer sources from workspace 2024-02-27 11:38:46 +00:00
__init__.py devtool: Do not create annotated tags if tag.gpgSign is set 2025-03-19 12:09:06 +00:00
build_image.py Convert to new override syntax 2021-08-02 15:44:10 +01:00
build_sdk.py devtool: build-sdk remove unused imports 2025-01-20 13:38:59 +00:00
build.py scripts/devtool: use bb.util.listtasks instead of __BBTASKS 2024-12-12 13:31:27 +00:00
deploy.py devtool: refactor deploy-target 2024-02-02 10:38:28 +00:00
export.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
ide_sdk.py devtool: ide-sdk remove the plugin from eSDK installer 2025-01-20 13:38:59 +00:00
import.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
menuconfig.py devtool: menuconfig remove useless code 2024-09-30 17:00:50 +01:00
package.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
runqemu.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
sdk.py build-sysroots: target or native sysroot population need to be selected explicitly 2023-09-09 12:04:55 +01:00
search.py package/scripts: Fix FILES_INFO handling 2021-08-17 09:53:04 +01:00
standard.py devtool: reset: Escape command line input used in regular expression 2025-03-20 11:29:04 +00:00
upgrade.py devtool: Do not create annotated tags if tag.gpgSign is set 2025-03-19 12:09:06 +00:00
utilcmds.py scripts/devtool: use bb.util.listtasks instead of __BBTASKS 2024-12-12 13:31:27 +00:00