From e0af4441b32954430dcbd6ebeda60112c1bee0dd Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 23 Dec 2015 14:58:28 +0100 Subject: [PATCH] build-export: FLAGS_GENERATE_SIZES when commiting --- app/xdg-app-builtins-build-export.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/xdg-app-builtins-build-export.c b/app/xdg-app-builtins-build-export.c index ccc8b9d9..82a21481 100644 --- a/app/xdg-app-builtins-build-export.c +++ b/app/xdg-app-builtins-build-export.c @@ -255,10 +255,14 @@ xdg_app_builtin_build_export (int argc, char **argv, GCancellable *cancellable, mtree = ostree_mutable_tree_new (); - modifier = ostree_repo_commit_modifier_new (OSTREE_REPO_COMMIT_MODIFIER_FLAGS_SKIP_XATTRS, commit_filter, + modifier = ostree_repo_commit_modifier_new (OSTREE_REPO_COMMIT_MODIFIER_FLAGS_SKIP_XATTRS | + OSTREE_REPO_COMMIT_MODIFIER_FLAGS_GENERATE_SIZES, + commit_filter, GUINT_TO_POINTER(opt_runtime ? 0 : ALLOW_EXPORT), NULL); - files_modifier = ostree_repo_commit_modifier_new (OSTREE_REPO_COMMIT_MODIFIER_FLAGS_SKIP_XATTRS, commit_filter, + files_modifier = ostree_repo_commit_modifier_new (OSTREE_REPO_COMMIT_MODIFIER_FLAGS_SKIP_XATTRS | + OSTREE_REPO_COMMIT_MODIFIER_FLAGS_GENERATE_SIZES, + commit_filter, GUINT_TO_POINTER(ALLOW_ALL), NULL); if (!ostree_repo_write_directory_to_mtree (repo, base, mtree, modifier, cancellable, error))