summaryrefslogtreecommitdiffstats
path: root/scripts/sstate-sysroot-cruft.sh
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-08-26 18:35:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-02 15:58:25 +0100
commit3cca59a9bcba1cad84f788e0f6ae09bc00c00ed7 (patch)
tree51d705eb2ebc4d7a77e2c15b1a1bfe2d024c9cf1 /scripts/sstate-sysroot-cruft.sh
parentc9342278d7571750b7c0b5b0aced6a117d43c749 (diff)
downloadpoky-3cca59a9bcba1cad84f788e0f6ae09bc00c00ed7.tar.gz
cve-check: close cursors as soon as possible
We can have multiple processes reading the database at the same time, and cursors only release their locks when they're garbage collected. This might be the cause of random sqlite errors on the autobuilder, so explicitly close the cursors when we're done with them. (From OE-Core rev: 5d2e90e4a58217a943ec21140bc2ecdd4357a98a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/sstate-sysroot-cruft.sh')
0 files changed, 0 insertions, 0 deletions