Martin Jansa
94149c4f37
meta: remove True option to getVar and getVarFlag calls (again)
* True is default since 2016 and most layers were already updated
not to pass this parameter where not necessary, e.g. oe-core was
updated couple times, first in:
https://git.openembedded.org/openembedded-core/commit/?id=7c552996597faaee2fbee185b250c0ee30ea3b5f
Updated with the same regexp as later oe-core update:
https://git.openembedded.org/openembedded-core/commit/?id=9f551d588693328e4d99d33be94f26684eafcaba
with small modification to replace not only d.getVar, but also data.getVar as in e.g.:
e.data.getVar('ERR_REPORT_USERNAME', True)
and for getVarFlag:
sed -e 's|\(d\.getVarFlag \?\)( \?\([^,()]*, \?[^,()]*\), \?True)|\1(\2)|g' \
-i $(git grep -E 'getVarFlag ?\( ?([^,()]*), ?([^,()]*), ?True\)' \
| cut -d':' -f1 \
| sort -u)
(From OE-Core rev: 26c74fd10614582e177437608908eb43688ab510)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 09:50:02 +00:00
..
2023-02-02 09:50:02 +00:00
2022-12-08 11:15:47 +00:00
2022-06-11 10:30:57 +01:00
2020-10-30 13:04:39 +00:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-08-14 08:13:32 +01:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-10-26 12:28:37 +01:00
2023-01-05 11:52:50 +00:00
2023-01-05 11:52:50 +00:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-07-14 23:22:09 +01:00
2023-01-13 17:32:46 +00:00
2022-09-17 07:47:07 +01:00
2022-10-28 09:44:52 +01:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-12-11 23:20:14 +00:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00
2022-08-12 12:00:43 +01:00