poky/scripts/contrib
Scott Murray ccbc29bbc4 scripts: fix file writing in convert-variable-renames
In my test environments (Fedora 35 and Debian 10.10 on AMD 2970WX),
running the convert-variable-renames.py rename script was resulting
in empty files instead of updated ones.  From inspection, the new
files are never flushed/closed before moving them into place, which
seems inherently racy.  Adding an explicit close to flush the modified
contents out before moving into place fixes the issue for me.

(From OE-Core rev: 187ac1ea0a701a5ba9ec92f6aa32f2a67600a584)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-22 08:23:50 +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 meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
convert-overrides.py convert-overrides.py: also convert comments without a leading whitespace 2021-08-12 06:26:15 +01:00
convert-spdx-licenses.py scripts: Add a conversion script to use SPDX license names 2022-02-20 16:45:25 +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 scripts: fix file writing in convert-variable-renames 2022-02-22 08:23:50 +00:00
ddimage scripts/contrib/ddimage: be explicit whether device doesn't exist or isn't writeable 2019-07-03 17:00:57 +01:00
devtool-stress.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
dialog-power-control meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
documentation-audit.sh documentation-audit.sh: Fix typo in specifying LICENSE_FLAGS_WHITELIST 2021-03-26 11:34:33 +00:00
graph-tool graph-tool: add filter subcommand 2020-06-16 23:39:28 +01:00
image-manifest scripts/contrib/image-manifest: add new script 2021-04-18 11:37:25 +01: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 meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
patchreview.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +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 meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +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 meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00