Commit Graph

5 Commits

Author SHA1 Message Date
Maya Rashish e47ffc831c Add netbsd to lists-of-OSes
Signed-off-by: Maya Rashish <maya@NetBSD.org>
2024-06-01 22:25:08 -04:00
Paul Holzinger 292b429f6c
copier: remove libimage dependency via util package
This allows podman to import the copier package on the remote client
without needing the full libimage package.

Based on Miloslav's work: https://github.com/containers/podman/pull/19718

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-09-12 14:08:41 +02:00
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