[buildinstall] Don't copy files for empty variants
They are not there in the first place. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
133cb97aa0
commit
98a9e02b1b
@ -165,6 +165,9 @@ class BuildinstallPhase(PhaseBase):
|
|||||||
kickstart_file = get_kickstart_file(self.compose)
|
kickstart_file = get_kickstart_file(self.compose)
|
||||||
for arch in self.compose.get_arches():
|
for arch in self.compose.get_arches():
|
||||||
for variant in self.compose.get_variants(arch=arch, types=["self", "variant"]):
|
for variant in self.compose.get_variants(arch=arch, types=["self", "variant"]):
|
||||||
|
if variant.is_empty:
|
||||||
|
continue
|
||||||
|
|
||||||
buildinstall_dir = self.compose.paths.work.buildinstall_dir(arch)
|
buildinstall_dir = self.compose.paths.work.buildinstall_dir(arch)
|
||||||
|
|
||||||
# Lorax runs per-variant, so we need to tweak the source path
|
# Lorax runs per-variant, so we need to tweak the source path
|
||||||
|
Loading…
Reference in New Issue
Block a user