Merge pull request #21944 from Luap99/Make-podman-label

Makefile: podman should have correct selinux label
This commit is contained in:
openshift-merge-bot[bot] 2024-03-05 13:07:15 +00:00 committed by GitHub
commit 722807a44c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 3 deletions

View File

@ -355,6 +355,7 @@ endif
$(GO_LDFLAGS) '$(LDFLAGS_PODMAN)' \
-tags "$(BUILDTAGS)" \
-o $@ ./cmd/podman
test -z "${SELINUXOPT}" || chcon -t container_runtime_exec_t $@
# Disambiguate Linux vs Darwin/Windows platform binaries under distinct "bin" dirs
$(SRCBINDIR):

View File

@ -64,9 +64,6 @@ Examples:
export PODMAN=${PODMAN:-$(pwd)/bin/podman}
export QUADLET=${QUADLET:-$(pwd)/bin/quadlet}
# Because 'make' doesn't do this by default
chcon -t container_runtime_exec_t $PODMAN
# Directory in which
TESTS=test/system