From 919e03ed20002841ffa9239db93bfff65cb01a1f Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Fri, 9 Dec 2022 12:16:57 +0100 Subject: [PATCH] schutzbot: set the cache size for the correct store The default cache location for `osbuild-image-test` is actually `/var/lib/osbuild/store`. Pass that to `osbuild` when setting the `maximum cache size to set the size for the correct location. --- schutzbot/manifest_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schutzbot/manifest_tests.sh b/schutzbot/manifest_tests.sh index f277cbf2..ef2f7a14 100755 --- a/schutzbot/manifest_tests.sh +++ b/schutzbot/manifest_tests.sh @@ -17,7 +17,7 @@ OSBUILD_LABEL=$(matchpathcon -n /usr/bin/osbuild) chcon $OSBUILD_LABEL tools/image-info # set the maximum cache size to unlimited -echo "{}" | sudo osbuild --cache-max-size unlimited - +echo "{}" | sudo osbuild --store /var/lib/osbuild/store --cache-max-size unlimited - # run the tests from the manifest-db for this arch+distro echo "Running the osbuild-image-test for arch $ARCH and ditribution $DISTRO_CODE"