]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
scripts/bitbake-prserv-tool: Fix to work with memres bitbake
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 28 Jan 2023 15:44:30 +0000 (15:44 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 29 Jan 2023 19:22:54 +0000 (19:22 +0000)
commitfa3f1f67abae1d90bede2e98bf7293603fd1307c
tree65faab37cc85ce669a3d03ae38a4cf98510204c5
parent1c9cbb27dfe37ca4574c4285fb03ce394dee5ed1
scripts/bitbake-prserv-tool: Fix to work with memres bitbake

Deleting data files whilst bitbake is running isn't a great idea.

Make sure memory resident bitbake is stopped if present and make
the file deletions a little more specific and safer too while we're
here.

Note: The cache directory layout is different on older releases (some
are split level) so this won't be a direct backport to some.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/bitbake-prserv-tool