commit 879e658355146847bcba61ce2d546cb01f8859b3
parent 3012af3ec8813aa7e0939109ec085ea06fca225d
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Thu, 22 Feb 2024 09:00:12 +0100
Fix sandbox command
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/command/pthbs-build b/command/pthbs-build
@@ -147,7 +147,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=ro_bind:"q(ENVIRON["basedir"]/packages)":"q(ENVIRON["packages"]/packages)
+ sandbox_cmd=sandbox_cmd" --extra-mount=ro_bind:"q(ENVIRON["basedir"]"/packages:"ENVIRON["packages"]"/packages")
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" "q(basename(ENVIRON["envdir"]))