rpm: automatically turn fsync off when using mkdtemp dirs.
This commit is contained in:
parent
c547c8a3f6
commit
a7e86812f2
@ -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) {}
|
||||
|
Loading…
Reference in New Issue
Block a user