summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorYoann Congal <yoann.congal@smile.fr>2024-02-29 10:59:36 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-03-01 09:31:10 +0000
commit140edb96aa4725e5aabc19f7c4a3691e2693aa53 (patch)
tree5eca4ae10a6c5a4a7344683ae5fcb0d2ef4c3f94 /meta/recipes-devtools
parentdeef6a87b564a205f90cafcd7982d78caac008c3 (diff)
downloadpoky-140edb96aa4725e5aabc19f7c4a3691e2693aa53.tar.gz
waf: Improve version parsing to avoid failing on warnings
waf uses an inline tar file extracted by the tarfile module. The tarfile module may print a warning when used with default 'filter' argument[0]. When called to get the version, the first time after unpack, the output may look like: # output from lower modules (e.g: warnings from tarfile, ...) waf X.Y.Z ... This patch makes the version parsing more precise by looking at the first line matching "waf ". [0]: https://docs.python.org/3.12/library/tarfile.html#extraction-filters (From OE-Core rev: 643b799a0c11d82907dd82991c19b003fe20a8b0) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
0 files changed, 0 insertions, 0 deletions