From 0e470dc644dd347e3b6201079ec459a62fc4ba31 Mon Sep 17 00:00:00 2001 From: Rotem Bar Date: Sun, 9 May 2021 16:47:40 +0300 Subject: [PATCH] kas-container: Fix mounting of custom KAS_REPO_REF_DIR kas-container support for KAS_REPO_REF_DIR was broken. The path provided by the env variable was the path on the local machine, not in the container. Signed-off-by: Rotem Bar [Jan: massaged commit log] Signed-off-by: Jan Kiszka --- kas-container | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kas-container b/kas-container index f018c8c..a59ad12 100755 --- a/kas-container +++ b/kas-container @@ -372,7 +372,7 @@ fi if [ -n "${KAS_REPO_REF_DIR}" ]; then set -- "$@" \ -v "$(readlink -f "${KAS_REPO_REF_DIR}")":/repo-ref:ro \ - -e KAS_REPO_REF_DIR="${KAS_REPO_REF_DIR}" + -e KAS_REPO_REF_DIR=/repo-ref fi for var in TERM KAS_DISTRO KAS_MACHINE KAS_TARGET KAS_TASK \