Ensure mkimage-profiles installed in create images
This commit is contained in:
parent
86277e0c43
commit
67107f4679
@ -545,8 +545,6 @@ Dir::Etc::preferencesparts "/var/empty";
|
|||||||
kind: str,
|
kind: str,
|
||||||
size: str = None,
|
size: str = None,
|
||||||
) -> Optional[Path]:
|
) -> Optional[Path]:
|
||||||
self.ensure_mkimage_profiles()
|
|
||||||
|
|
||||||
target = f'{target}_{self.escape_branch(branch)}'
|
target = f'{target}_{self.escape_branch(branch)}'
|
||||||
image = re.sub(r'.*/', '', target)
|
image = re.sub(r'.*/', '', target)
|
||||||
full_target = f'{target}.{kind}'
|
full_target = f'{target}.{kind}'
|
||||||
@ -639,6 +637,8 @@ Dir::Etc::preferencesparts "/var/empty";
|
|||||||
|
|
||||||
def create_images(self) -> None:
|
def create_images(self) -> None:
|
||||||
self.clear_images_dir()
|
self.clear_images_dir()
|
||||||
|
self.ensure_mkimage_profiles()
|
||||||
|
|
||||||
for branch in self.branches:
|
for branch in self.branches:
|
||||||
for image in self.images:
|
for image in self.images:
|
||||||
if self.skip_branch(image, branch):
|
if self.skip_branch(image, branch):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user