Skip to content

Commit

Permalink
Merge pull request #21944 from Luap99/Make-podman-label
Browse files Browse the repository at this point in the history
Makefile: podman should have correct selinux label
  • Loading branch information
openshift-merge-bot[bot] authored Mar 5, 2024
2 parents 3e1d2ab + 02403c2 commit 722807a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
3 changes: 0 additions & 3 deletions hack/bats
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 722807a

Please sign in to comment.