-
In order to implement fully atomic upgrades, the OSTree system expects that "triggers" such as this tool ensure that any data they generate are on durable storage. Thus, we use fdatasync() before calling rename(). https://bugs.freedesktop.org/show_bug.cgi?id=61472
bc765818