pthbs_genpkgpy

Template engine for producing packages for pthbs written using Python and Jinja
git clone https://ccx.te2000.cz/git/pthbs_genpkgpy
Log | Files | Refs | Submodules | README

commit 98f5e455db80c039df5528fa26b4a06e7e3166d5
parent 8a257a8ff9880393c8d77b57c0964353804fe74e
Author: Jan Pobříslo <ccx@te2000.cz>
Date:   Tue, 20 Feb 2024 19:34:25 +0100

Fix bindmount path

Diffstat:
Mcommand/pthbs-build | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/command/pthbs-build b/command/pthbs-build @@ -135,7 +135,7 @@ function at_filehash(hash_type, file_hash, dst, dstdir){ sandbox_cmd=sandbox_cmd " -m " q("allow/read+"dirname(ENVIRON["envdir"])"/***") sandbox_cmd=sandbox_cmd " -munshare/user:1" sandbox_cmd=sandbox_cmd " -munshare/mount:1" - sandbox_cmd=sandbox_cmd " -mbind+" q(dirname(ENVIRON["envdir"]"/work/bin")":/bin:ro,nosetuid,nodev") + sandbox_cmd=sandbox_cmd " -mbind+" q(ENVIRON["basedir"]"/work/bin:/bin:ro,nosetuid,nodev") sandbox_cmd=sandbox_cmd " -m " q("allow/read+/bin/***") sandbox_cmd=sandbox_cmd " -munshare/net:1 -munshare/ipc:1" } else {