Commit Graph

4 Commits

Author SHA1 Message Date
Doug Rabson 2b75c29931 pkg/config: make Capabilities() a no-op stub on non-linux platforms
This fixes 'podman build' and 'buildah build' on non-linux platforms
where (*Config).Capabilities started throwing errors after the
pkg/capabilities package started using github.com/moby/sys/capability to
validate the capability lists.

Signed-off-by: Doug Rabson <dfr@rabson.org>
2025-02-17 14:32:11 +00:00
Oleksandr Redko ba4c7c98bb chore: remove outdated build constraints
Signed-off-by: Oleksandr Redko <Oleksandr_Redko@epam.com>
2024-01-03 22:56:00 +02:00
Valentin Rothberg 095aded91c go fmt: use go 1.18 conditional-build syntax
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-03-18 11:04:40 +01:00
Qi Wang 542afa60a4 add selinux unsupported
Add unsupported file for non linux.

Signed-off-by: Qi Wang <qiwan@redhat.com>
2019-10-22 13:51:22 -04:00