bootloader: fdatasync() bootloader configuration

Let's be a bit more conservative here and actually fdatasync() the
configurations we're generating.

I'm seeing an issue at the moment where syslinux isn't finding the
config sometimes, and while I don't think this is the issue, let's try
it.
This commit is contained in:
Colin Walters committed 2014-04-03 22:32:30 -04:00
1 parent cc8bacf8b4
commit 829e0382ab
4 files changed
+82 -10

No files matched your search

+5
View File
@@ -69,6 +69,11 @@ gboolean ot_gfile_load_contents_utf8_allow_noent (GFile *path,
GCancellable *cancellable,
GError **error);
gboolean ot_gfile_replace_contents_fsync (GFile *path,
GBytes *contents,
GCancellable *cancellable,
GError **error);
gboolean ot_gfile_ensure_unlinked (GFile *path,
GCancellable *cancellable,
GError **error);