diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-06-23 14:57:49 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-06-24 11:09:11 +0100 |
commit | a343a885e0f7dc34f741e781045fd14e91695b44 (patch) | |
tree | 5aa44c8323855a5834b44e80b204d0bc1926bb41 /distbuild/build_controller.py | |
parent | f8fbffa2e04182e2f7bc0f64720f7ba925eab333 (diff) | |
download | morph-a343a885e0f7dc34f741e781045fd14e91695b44.tar.gz |
distbuild: Fix partial distbuilding
I was getting an error from this command:
morph distbuild systems/build-system-x86_64.morph stage2-fhs-dirs
Saying this:
ERROR: Failed to build
git://git.baserock.org/baserock/baserock/definitions
93575a2ceeeda77a5bb8c6121a9cac3edde1afbf
systems/build-system-x86_64.morph: Some of the requested components
are
not in build-system-x86_64-rootfs: stage2-fhs-dirs
This patch fixes that issue and makes Morph build up to stage2-fhs-dirs
successfully.
Change-Id: I61c373272484dcb5dc62f281cae8f21f742c31a9
Diffstat (limited to 'distbuild/build_controller.py')
-rw-r--r-- | distbuild/build_controller.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/distbuild/build_controller.py b/distbuild/build_controller.py index 8cc817ca..3aa149f8 100644 --- a/distbuild/build_controller.py +++ b/distbuild/build_controller.py @@ -172,7 +172,7 @@ def map_build_graph(artifact, callback, components=[]): def find_artifacts(components, artifact): found = [] for a in artifact.walk(): - if a.name in components: + if a.source_name in components or a.name in components: found.append(a) return found |