Skip to content

Commit 0210c4e

Browse files
committed
Write manifest as soon as packages have been recorded
1 parent c431233 commit 0210c4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkosi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3947,6 +3947,7 @@ def build_image(context: Context) -> None:
39473947

39483948
if manifest:
39493949
manifest.record_packages()
3950+
save_manifest(context, manifest)
39503951

39513952
run_selinux_relabel(context)
39523953

@@ -4012,7 +4013,6 @@ def build_image(context: Context) -> None:
40124013

40134014
calculate_sha256sum(context)
40144015
calculate_signature(context)
4015-
save_manifest(context, manifest)
40164016

40174017
output_base = context.staging / context.config.output
40184018
if not output_base.exists() or output_base.is_symlink():

0 commit comments

Comments
 (0)