poky/scripts/contrib
Martin Jansa bd6d3f9950 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: f12fcb8a3f3d11c981c223569f8f40ec705c837a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 26c74fd10614582e177437608908eb43688ab510)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:47:00 +00:00
..
bb-perf buildstats-plot.sh: Show spaces and underscores correctly in titles/keys 2020-03-29 12:05:31 +01:00
bbvars.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
build-perf-test-wrapper.sh perf-build-test/report: Drop phantomjs and html email reports support 2022-03-16 10:31:41 +00:00
convert-overrides.py scripts: convert-overrides: Allow command-line customizations 2022-12-23 23:05:56 +00:00
convert-spdx-licenses.py scripts: fix file writing in convert-spdx-licenses 2022-02-22 15:24:51 +00:00
convert-srcuri.py convert-srcuri.py: use regex to check space in SRC_URI 2021-11-11 17:09:17 +00:00
convert-variable-renames.py convert-variable-renames: Fix typo in description 2022-03-31 17:52:58 +01:00
ddimage scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00
devtool-stress.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
dialog-power-control scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00
documentation-audit.sh scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00
graph-tool graph-tool: add filter subcommand 2020-06-16 23:39:28 +01:00
image-manifest meta: remove True option to getVar and getVarFlag calls (again) 2023-02-15 21:47:00 +00:00
list-packageconfig-flags.py scripts/contrib/list-packageconfig-flags: Upate for tinfoil API changes 2021-03-15 14:49:09 +00:00
oe-build-perf-report-email.py scripts/contrib/oe-build-perf-report-email.py: remove obsolete check for phantomjs and optipng 2022-04-30 22:00:20 +01:00
patchreview.py scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00
patchtest.sh meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
serdevtry meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
test_build_time_worker.sh scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00
test_build_time.sh meta/scripts: Change BB_ENV_EXTRA_WHITE -> BB_ENV_PASSTHROUGH_ADDITIONS 2022-02-21 23:37:26 +00:00
uncovered meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
verify-homepage.py scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00