Skip to content

Commit 4aed011

Browse files
committed
cmd-import: run cosa prune at the end
This is equivalent to `cosa build` which also runs `cosa prune` at the end.
1 parent db04a12 commit 4aed011

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cmd-import

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ def main():
5555
# move into official location
5656
finalize_build(builds, build_meta, tmp_oci_archive, tmp_oci_manifest)
5757

58+
subprocess.check_call(['/usr/lib/coreos-assembler/cmd-prune'])
59+
5860

5961
def parse_args():
6062
parser = argparse.ArgumentParser(prog='cosa import')

0 commit comments

Comments
 (0)