diff options
author | Phillip Smyth <phillipsmyth@Nexus-x240.dyn.ducie.codethink.co.uk> | 2018-07-16 07:27:15 +0100 |
---|---|---|
committer | Phillip Smyth <phillip.smyth@codethink.co.uk> | 2018-07-17 12:53:55 +0000 |
commit | 7e9282c97a7f940b9882154ccc6164a7f2268da8 (patch) | |
tree | f8c53e9677165f6b3c6424f52028714ac78d5f7c /buildstream/_stream.py | |
parent | f770ab1c789aa6c4ff88ee2045a3a9207ed1f27f (diff) | |
download | buildstream-7e9282c97a7f940b9882154ccc6164a7f2268da8.tar.gz |
buildstream/_frontend/cli.py: Added a `--deps` flag to `bst checkout`
buildstream/_stream.py: Added deps param to _prepare_sandbox function call
buildstream/element.py: Added deps param and logic to _prepare_sandbox function
Diffstat (limited to 'buildstream/_stream.py')
-rw-r--r-- | buildstream/_stream.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/buildstream/_stream.py b/buildstream/_stream.py index 4b699c1f2..a29d8b63f 100644 --- a/buildstream/_stream.py +++ b/buildstream/_stream.py @@ -361,6 +361,7 @@ class Stream(): # their artifacts is acceptable # def checkout(self, target, *, + deps='run', directory=None, force=False, integrate=True, @@ -384,7 +385,7 @@ class Stream(): # Stage deps into a temporary sandbox first try: - with target._prepare_sandbox(Scope.RUN, None, integrate=integrate) as sandbox: + with target._prepare_sandbox(Scope.RUN, None, deps=deps, integrate=integrate) as sandbox: # Copy or move the sandbox to the target directory sandbox_root = sandbox.get_directory() |