From 3602c53dd8a850a34626293fc3fb1645cced1ca1 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 14 Apr 2016 11:32:46 +0200 Subject: [PATCH] build-export: Don't use generate-sizes This is pretty inefficient in terms of download counts, and its not cached. Lets store the data we need in the summary, which we need to download anways, and which we cache. --- app/xdg-app-builtins-build-export.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/xdg-app-builtins-build-export.c b/app/xdg-app-builtins-build-export.c index d5e0f5cd..e8e531c3 100644 --- a/app/xdg-app-builtins-build-export.c +++ b/app/xdg-app-builtins-build-export.c @@ -365,8 +365,7 @@ xdg_app_builtin_build_export (int argc, char **argv, GCancellable *cancellable, if (!ostree_mutable_tree_ensure_dir (mtree, "files", &files_mtree, error)) goto out; - modifier = ostree_repo_commit_modifier_new (OSTREE_REPO_COMMIT_MODIFIER_FLAGS_SKIP_XATTRS | - OSTREE_REPO_COMMIT_MODIFIER_FLAGS_GENERATE_SIZES, + modifier = ostree_repo_commit_modifier_new (OSTREE_REPO_COMMIT_MODIFIER_FLAGS_SKIP_XATTRS, (OstreeRepoCommitFilter)commit_filter, &commit_data, NULL); if (opt_runtime)