Commit Graph

3 Commits

Author SHA1 Message Date
Doug Rabson be3b9c3686 Make util and copier build on FreeBSD
The mknod syscall takes a uint64 value for dev on FreeBSD.

[NO NEW TESTS NEEDED]

Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-06-13 13:36:20 +01:00
Nalin Dahyabhai 962406aa36 util: digging UID/GID out of os.FileInfo should work on Unix
Digging the UID and GID out of an os.FileInfo should work on all Unixy
systems, so move it from Linux-specific implementation file to a file
that we also build for Darwin.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2020-11-06 16:24:40 -05:00
Nalin Dahyabhai 5c98d3c220 add: handle hard links when copying with .dockerignore
Detect files that are hard linked together, and use that information to
avoid copying their contents more often than we have to.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>

Closes: #1789
Approved by: rhatdan
2019-08-14 15:20:52 +00:00