image-build: Use install_tree from parent for nested variants
Buildinstall only runs for top-level variants. Addons, optionals and integrated layered products must reuse install tree from their parent, because otherwise there would be no boot.iso. Fixes: #472 Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
c338219ef0
commit
721932a573
4 changed files with 67 additions and 6 deletions
|
|
@ -89,8 +89,8 @@ class DummyCompose(object):
|
|||
|
||||
def setup_optional(self):
|
||||
self.all_variants['Server-optional'] = MockVariant(
|
||||
uid='Server-optional', arches=['x86_64'], type='optional', is_empty=False,
|
||||
parent=self.variants['Server'])
|
||||
uid='Server-optional', arches=['x86_64'], type='optional', is_empty=False)
|
||||
self.all_variants['Server-optional'].parent = self.variants['Server']
|
||||
self.variants['Server'].variants = {'optional': self.all_variants['Server-optional']}
|
||||
|
||||
def get_variants(self, arch=None, types=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue