From b8576ee99edd60f4e53958e5e5a34916e0f64cca Mon Sep 17 00:00:00 2001 From: Felix Moessbauer Date: Mon, 27 Feb 2023 09:24:32 +0100 Subject: [PATCH] kas-container: mount KAS_REPO_REF_DIR rw With the added auto-caching logic of the referenced repos in 1c2c859, kas-container has to mount this directory in read-write mode. Otherwise, initial clones will fail. Signed-off-by: Felix Moessbauer Signed-off-by: Jan Kiszka --- kas-container | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kas-container b/kas-container index cad4290..b6c9dca 100755 --- a/kas-container +++ b/kas-container @@ -479,7 +479,7 @@ if [ -n "${KAS_REPO_REF_DIR}" ]; then exit 1 fi set -- "$@" \ - -v "$(readlink -f "${KAS_REPO_REF_DIR}")":/repo-ref:ro \ + -v "$(readlink -f "${KAS_REPO_REF_DIR}")":/repo-ref:rw \ -e KAS_REPO_REF_DIR=/repo-ref fi