commit b442ae054a2988e325748c9be179ff52ebe518d9
parent c4d72f6dd47e6fd65821bb95844794589da9f059
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Thu, 22 Feb 2024 07:09:51 +0100
Pass workdir bind-mount destination
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/command/pthbs-build b/command/pthbs-build
@@ -142,7 +142,7 @@ function at_filehash(hash_type, file_hash, dst, dstdir){
sandbox_cmd=" "q(ENVIRON["basedir"]"/userns_sandbox.py")
sandbox_cmd=sandbox_cmd" --vars="q(ENVIRON["basedir"]"/vars.yaml")
sandbox_cmd=sandbox_cmd" --extra-mount=tmpfs:"q(ENVIRON["basedir"]"/work")
- sandbox_cmd=sandbox_cmd" --extra-mount=rw_bind:"q(ENVIRON["workdir"])
+ sandbox_cmd=sandbox_cmd" --extra-mount=rw_bind:"q(ENVIRON["workdir"])":"q(ENVIRON["workdir"])
sandbox_cmd=sandbox_cmd" "q(ENVIRON["basedir"]"/work/root")
sandbox_cmd=sandbox_cmd" env_ignored"
}