diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-01-26 15:44:12 +0000 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-01-26 16:56:41 +0000 |
commit | 862dbd4d73714e5f654401ce072d8d9bc0d03a7b (patch) | |
tree | c87961ee656b766ca1599b91c56f15bf15fe46dd /morphlib/buildworker.py | |
parent | ba7f8f8421998f52233d5a2eab0214f40638ef7a (diff) | |
download | morph-862dbd4d73714e5f654401ce072d8d9bc0d03a7b.tar.gz |
Add a "build-single" command to build a blob without its dependencies.
...while at the same time making sure that all dependencies are marked
for staging prior to building the blob itself.
Diffstat (limited to 'morphlib/buildworker.py')
-rw-r--r-- | morphlib/buildworker.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/morphlib/buildworker.py b/morphlib/buildworker.py index 6ab43179..994ea52a 100644 --- a/morphlib/buildworker.py +++ b/morphlib/buildworker.py @@ -149,7 +149,7 @@ class LocalBuildWorker(BuildWorker): cmdline = [] if sudo: cmdline.extend(['sudo']) - cmdline.extend(['morph', 'build', repo, ref, filename]) + cmdline.extend(['morph', 'build-single', repo, ref, filename]) cmdline.extend(args) # run morph locally in a child process @@ -191,12 +191,12 @@ class RemoteBuildWorker(BuildWorker): if sudo: cmdline.extend(['sudo', '-S', 'bash', '--login', '-c']) cmdline.extend(['"']) - cmdline.extend(['morph', 'build', repo, ref, filename]) + cmdline.extend(['morph', 'build-single', repo, ref, filename]) cmdline.extend(args) cmdline.extend(['"']) else: cmdline.extend(['fakeroot']) - cmdline.extend(['morph', 'build', repo, ref, filename]) + cmdline.extend(['morph', 'build-single', repo, ref, filename]) cmdline.extend(args) # run morph on the other machine |