Execute and log copying of external images

This commit is contained in:
Mikhail Gordeev 2019-11-04 19:35:54 +03:00
parent c218219d13
commit 50fafaa8df

View File

@ -512,6 +512,7 @@ Dir::Etc::preferencesparts "/var/empty";
with self.pushd(self.external_images / branch):
for image in os.listdir():
self.info(f'Copy external image {image} in {branch}')
self.copy_image(image,
self.images_dir / branch / image)
@ -588,6 +589,7 @@ def main():
args = parse_args()
cloud_build = CB(args)
cloud_build.create_images()
cloud_build.copy_external_images()
cloud_build.sign()
cloud_build.sync()