From 31662a0d6fa9ebfe62ad1fede9f0523d4f3d2d96 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Tue, 6 Feb 2024 16:00:18 -0500 Subject: [PATCH] cmdlib: don't use cache qcow for composes; use virtiofs Now that our OSBuild workflow is using the cache we saw at least one case where the pipeline was running out of space when composing the extensions. Since we had a previous proposal [1] to just drop the cache altogether anyway let's try to at least remove it from the runcompose functions to eliminate the use of it there anyway. [1] https://github.com/coreos/coreos-assembler/pull/3615 --- src/cmdlib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmdlib.sh b/src/cmdlib.sh index 8d28610ef5..3cbad3e06b 100755 --- a/src/cmdlib.sh +++ b/src/cmdlib.sh @@ -563,7 +563,7 @@ runcompose_tree() { (umask 0022 && sudo -E "$@") sudo chown -R -h "${USER}":"${USER}" "${tmprepo}" else - runvm_with_cache -- "$@" --repo "${repo}" --write-composejson-to "${composejson}" + runvm -- "$@" --repo "${repo}" --write-composejson-to "${composejson}" fi } @@ -587,7 +587,7 @@ runcompose_extensions() { (umask 0022 && sudo -E "$@") sudo chown -R -h "${USER}":"${USER}" "${outputdir}" else - runvm_with_cache -- "$@" + runvm -- "$@" fi }