mirror of https://github.com/containers/podman.git
Merge pull request #21944 from Luap99/Make-podman-label
Makefile: podman should have correct selinux label
This commit is contained in:
commit
722807a44c
1
Makefile
1
Makefile
|
|
@ -355,6 +355,7 @@ endif
|
||||||
$(GO_LDFLAGS) '$(LDFLAGS_PODMAN)' \
|
$(GO_LDFLAGS) '$(LDFLAGS_PODMAN)' \
|
||||||
-tags "$(BUILDTAGS)" \
|
-tags "$(BUILDTAGS)" \
|
||||||
-o $@ ./cmd/podman
|
-o $@ ./cmd/podman
|
||||||
|
test -z "${SELINUXOPT}" || chcon -t container_runtime_exec_t $@
|
||||||
|
|
||||||
# Disambiguate Linux vs Darwin/Windows platform binaries under distinct "bin" dirs
|
# Disambiguate Linux vs Darwin/Windows platform binaries under distinct "bin" dirs
|
||||||
$(SRCBINDIR):
|
$(SRCBINDIR):
|
||||||
|
|
|
||||||
|
|
@ -64,9 +64,6 @@ Examples:
|
||||||
export PODMAN=${PODMAN:-$(pwd)/bin/podman}
|
export PODMAN=${PODMAN:-$(pwd)/bin/podman}
|
||||||
export QUADLET=${QUADLET:-$(pwd)/bin/quadlet}
|
export QUADLET=${QUADLET:-$(pwd)/bin/quadlet}
|
||||||
|
|
||||||
# Because 'make' doesn't do this by default
|
|
||||||
chcon -t container_runtime_exec_t $PODMAN
|
|
||||||
|
|
||||||
# Directory in which
|
# Directory in which
|
||||||
TESTS=test/system
|
TESTS=test/system
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue