libarchive: Support commit sizes metadata

Call the helper to set the generate_sizes boolean so that object size
data is stored while writing the mtree.
This commit is contained in:
Dan Nicholson committed 2020-01-20 20:42:27 -07:00
1 parent 291e9da258
commit 1bbe674d91
4 files changed
+26 -6

No files matched your search

+2
View File
@@ -844,6 +844,8 @@ ostree_repo_import_archive_to_mtree (OstreeRepo *self,
.modifier = modifier
};
_ostree_repo_setup_generate_sizes (self, modifier);
while (TRUE)
{
int r = archive_read_next_header (a, &aictx.entry);