poky/bitbake/lib/bblayers
Joerg Schmidt 9877f433a6 bitbake: bblayers/query: Fix using "removeprefix" string method
The minimum Python version required for Yocto 5.0 is 3.8 which causes
failure in poky/bitbake/lib/bblayers/query.py when listing layers by
using command "bitbake-layers show-recipes -f --bare --mc MC" for the
given multiconfig MC.
The reason for that failure is the use of "removeprefix" string method
which got introduced in Python 3.9.
This patch replaces the "removeprefix" method with an equivalent
solution supported by Python 3.8.

(Bitbake rev: f6635b32ab553e812fe7c05998ef05834fccd0f3)

Signed-off-by: Joerg Schmidt <joerg.schmidt@garmin.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-02-21 06:25:05 -08:00
..
__init__.py bitbake: bitbake: Add copyright headers where missing 2022-08-12 11:49:29 +01:00
action.py bitbake: lib: Drop inotify support and replace with mtime checks 2023-09-18 11:35:05 +01:00
common.py bitbake: bitbake: Add copyright headers where missing 2022-08-12 11:49:29 +01:00
layerindex.py bitbake: bitbake: bitbake-layers: checkout layer(s) branch when clone exists 2022-10-29 16:30:43 +01:00
query.py bitbake: bblayers/query: Fix using "removeprefix" string method 2025-02-21 06:25:05 -08:00