Merge pull request #11243 from poettering/nspawn-root-overlay

add systemd-nspawn --volatile=overlay support, as well as the same for host systems
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2019-03-01 16:08:55 +01:00
committed by GitHub
18 changed files with 385 additions and 165 deletions
+1 -1
View File
@@ -494,7 +494,7 @@ static int copy_file_with_version_check(const char *from, const char *to, bool f
return log_error_errno(r, "Failed to copy data from \"%s\" to \"%s\": %m", from, t);
}
(void) copy_times(fd_from, fd_to);
(void) copy_times(fd_from, fd_to, 0);
if (fsync(fd_to) < 0) {
(void) unlink_noerrno(t);