diff options
author | Alexandre Marques <c137.marques@gmail.com> | 2025-03-14 10:22:12 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-18 11:25:36 +0000 |
commit | 331aef4bcf3ad9bbeea25b3463219f46d46bd4a6 (patch) | |
tree | 73aca6570eb8b43ada602b8cfb2179b051294ccf /scripts/create-pull-request | |
parent | 944551b0c9dff0d8ef1c93f99044383d402a33a1 (diff) | |
download | poky-331aef4bcf3ad9bbeea25b3463219f46d46bd4a6.tar.gz |
scripts: Add clean-hashserver-database script
Auxiliary script to clean the hashserver database based on the files
available in the sstate directory.
It makes used of the new "hashclient gc-mark-stream" command to mark all sstate
relevant hashes as "alive" and removes everything else from the
database.
Usage example:
```
./scripts/clean-hashserver-database \
--sstate-dir ~/build/sstate-cache \
--hashclient ./bitbake/bin/bitabke-hashclient \
--hashserver-address "ws://localhost:8688/ws" \
--mark "alive" \
--threshold-age 60 \
--clean-db
```
(From OE-Core rev: f6737c762ac11f7653a64fac58428428c4222d0f)
Signed-off-by: Alexander Marques <c137.marques@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/create-pull-request')
0 files changed, 0 insertions, 0 deletions