From a7e86812f2716eb6b9a9291583f72817402461a8 Mon Sep 17 00:00:00 2001 From: James Antill Date: Mon, 21 Jul 2014 00:55:39 -0400 Subject: [PATCH] rpm: automatically turn fsync off when using mkdtemp dirs. --- src/rpmostree-builtin-rpm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpmostree-builtin-rpm.c b/src/rpmostree-builtin-rpm.c index de927d6b..0bba043a 100644 --- a/src/rpmostree-builtin-rpm.c +++ b/src/rpmostree-builtin-rpm.c @@ -930,6 +930,7 @@ rpmostree_builtin_rpm (int argc, gs_free char *tmpd = g_mkdtemp (g_strdup ("/tmp/rpm-ostree.XXXXXX")); rpmdbdir = g_file_new_for_path (tmpd); rpmdbdir_is_tmp = TRUE; + ostree_repo_set_disable_fsync (repo, TRUE); } if (FALSE) {}