Commit e832c3f6 authored by locallycompact-ct's avatar locallycompact-ct

sandboxing keyword

parent 02de6607
Pipeline #4776701 failed with stages
......@@ -22,7 +22,7 @@ import sys
import fcntl
from ybd import app, cache, sandbox
from ybd.app import cleanup, config, log, RetryException, setup, spawn, timer
from ybd.assembly import compose, build, install_contents
from ybd.assembly import compose, build, install_contents, write_metadata
from ybd.cache import get_cache, get_remote
from ybd.deployment import deploy
from ybd.concourse import Pipeline
......
......@@ -132,7 +132,7 @@ def run_sandboxed(dn, command, env=None, allow_parallel=False):
mounts.extend([('tmpfs', '/dev/shm', 'tmpfs'),
('proc', '/proc', 'proc'), ])
if dn.get('kind') == 'system':
if dn.get('kind') == 'assemblage':
writable_paths = 'all'
else:
writable_paths = [dn['name'] + '.build', dn['name'] + '.inst',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment