Commit Graph

6 Commits

Author SHA1 Message Date
Kir Kolyshkin 24da18800e *: fix build tags
This change is generated by `go1.23rc2 fix ./...`.

Had to use go1.23rc2, since all released go versions have a bug
preventing it from working with `go 1.22.0` in go.mod (opened
https://github.com/golang/go/issues/68825,
https://github.com/golang/go/issues/68824 for awareness).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2024-08-09 17:05:30 -07:00
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