mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-05-07 07:46:46 +00:00
Disable atimes in rsync (#743)
Some very old distros like ubuntu dont have that option
(cherry picked from commit c94cd8c685
)
This commit is contained in:
parent
b45d95c256
commit
626423b252
@ -185,7 +185,6 @@ func SyncData(log sdkTypes.KairosLogger, runner v1.Runner, fs v1.FS, source stri
|
|||||||
"--human-readable",
|
"--human-readable",
|
||||||
"--archive", // recursive, symbolic links, permissions, owner, group, modification times, device files, special files
|
"--archive", // recursive, symbolic links, permissions, owner, group, modification times, device files, special files
|
||||||
"--acls", // preserve ACLS and permissions
|
"--acls", // preserve ACLS and permissions
|
||||||
"--atimes", // preserve access times
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, e := range excludes {
|
for _, e := range excludes {
|
||||||
|
Loading…
Reference in New Issue
Block a user