mirror of
https://github.com/containers/podman.git
synced 2025-09-28 01:04:28 +08:00
Makefile: don't try to build rootlessport on FreeBSD
Rootless containers are not possible on FreeBSD. While I would like to close that gap, getting the necessary changes into the FreeBSD kernel is a long term project so until then, this removes the rootlessport helper from the build on FreeBSD. [NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson <dfr@rabson.org>
This commit is contained in:
6
Makefile
6
Makefile
@ -190,7 +190,11 @@ default: all
|
|||||||
all: binaries docs
|
all: binaries docs
|
||||||
|
|
||||||
.PHONY: binaries
|
.PHONY: binaries
|
||||||
|
ifeq ($(shell uname -s),FreeBSD)
|
||||||
|
binaries: podman podman-remote ## Build podman and podman-remote binaries
|
||||||
|
else
|
||||||
binaries: podman podman-remote rootlessport ## Build podman, podman-remote and rootlessport binaries
|
binaries: podman podman-remote rootlessport ## Build podman, podman-remote and rootlessport binaries
|
||||||
|
endif
|
||||||
|
|
||||||
# Extract text following double-# for targets, as their description for
|
# Extract text following double-# for targets, as their description for
|
||||||
# the `help` target. Otherwise These simple-substitutions are resolved
|
# the `help` target. Otherwise These simple-substitutions are resolved
|
||||||
@ -749,7 +753,9 @@ install.bin:
|
|||||||
install ${SELINUXOPT} -m 755 bin/podman $(DESTDIR)$(BINDIR)/podman
|
install ${SELINUXOPT} -m 755 bin/podman $(DESTDIR)$(BINDIR)/podman
|
||||||
test -z "${SELINUXOPT}" || chcon --verbose --reference=$(DESTDIR)$(BINDIR)/podman bin/podman
|
test -z "${SELINUXOPT}" || chcon --verbose --reference=$(DESTDIR)$(BINDIR)/podman bin/podman
|
||||||
install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(LIBEXECPODMAN)
|
install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(LIBEXECPODMAN)
|
||||||
|
ifneq ($(shell uname -s),FreeBSD)
|
||||||
install ${SELINUXOPT} -m 755 bin/rootlessport $(DESTDIR)$(LIBEXECPODMAN)/rootlessport
|
install ${SELINUXOPT} -m 755 bin/rootlessport $(DESTDIR)$(LIBEXECPODMAN)/rootlessport
|
||||||
|
endif
|
||||||
test -z "${SELINUXOPT}" || chcon --verbose --reference=$(DESTDIR)$(LIBEXECPODMAN)/rootlessport bin/rootlessport
|
test -z "${SELINUXOPT}" || chcon --verbose --reference=$(DESTDIR)$(LIBEXECPODMAN)/rootlessport bin/rootlessport
|
||||||
install ${SELINUXOPT} -m 755 -d ${DESTDIR}${TMPFILESDIR}
|
install ${SELINUXOPT} -m 755 -d ${DESTDIR}${TMPFILESDIR}
|
||||||
install ${SELINUXOPT} -m 644 contrib/tmpfile/podman.conf ${DESTDIR}${TMPFILESDIR}/podman.conf
|
install ${SELINUXOPT} -m 644 contrib/tmpfile/podman.conf ${DESTDIR}${TMPFILESDIR}/podman.conf
|
||||||
|
Reference in New Issue
Block a user