moby--moby/daemon/graphdriver
Josh Hawn b6db23cffe Use archive.CopyWithTar in vfs.Create
The vfs storage driver currently shells out to the `cp` binary on the host
system to perform an 'archive' copy of the base image to a new directory.
The archive option preserves the modified time of the files which are created
but there was an issue where it was unable to preserve the modified time of
copied symbolic links on some host systems with an outdated version of `cp`.

This change no longer relies on the host system implementation and instead
utilizes the `CopyWithTar` function found in `pkg/archive` which is used
to copy from source to destination directory using a Tar archive, which
should correctly preserve file attributes.

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2014-10-27 11:38:22 -07:00
..
aufs Mass gofmt 2014-10-24 15:11:48 -07:00
btrfs graphdriver interface name change, typo fix 2014-09-16 15:10:32 -07:00
devmapper Mass gofmt 2014-10-24 15:11:48 -07:00
graphtest update go import path and libcontainer 2014-07-24 22:19:50 +00:00
vfs Use archive.CopyWithTar in vfs.Create 2014-10-27 11:38:22 -07:00
driver.go Move archive package into pkg/archive 2014-09-29 23:23:36 -07:00
fsdiff.go Mass gofmt 2014-10-24 15:11:48 -07:00