summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLokesh Mandvekar <lsm5@fedoraproject.org>2020-06-17 15:58:11 -0400
committerLokesh Mandvekar <lsm5@fedoraproject.org>2020-06-17 15:58:11 -0400
commit30c0fc9f12c6e8c1b97b7f1e57173ac1b4f73b5d (patch)
tree36479efbfd8542f0b922cbbd209f11b3d4fdf872 /Makefile
parenta76bf114d1a408cb3bbcd3c642805d1bf13b07c0 (diff)
downloadpodman-30c0fc9f12c6e8c1b97b7f1e57173ac1b4f73b5d.tar.gz
podman-30c0fc9f12c6e8c1b97b7f1e57173ac1b4f73b5d.tar.bz2
podman-30c0fc9f12c6e8c1b97b7f1e57173ac1b4f73b5d.zip
Makefile: install.varlink needs to create dirs
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2ac6f426f..43e248233 100644
--- a/Makefile
+++ b/Makefile
@@ -568,6 +568,7 @@ install.docker: docker-docs
.PHONY: install.varlink
ifneq (,$(findstring varlink,$(BUILDTAGS)))
install.varlink:
+ install ${SELINUXOPT} -m 755 -d ${DESTDIR}${SYSTEMDDIR} ${DESTDIR}${USERSYSTEMDDIR} ${DESTDIR}${TMPFILESDIR}
install ${SELINUXOPT} -m 644 contrib/varlink/io.podman.socket ${DESTDIR}${SYSTEMDDIR}/io.podman.socket
install ${SELINUXOPT} -m 644 contrib/varlink/io.podman.socket ${DESTDIR}${USERSYSTEMDDIR}/io.podman.socket
install ${SELINUXOPT} -m 644 contrib/varlink/io.podman.service ${DESTDIR}${SYSTEMDDIR}/io.podman.service
@@ -582,8 +583,7 @@ endif
.PHONY: install.systemd
install.systemd: install.varlink
- install ${SELINUXOPT} -m 755 -d ${DESTDIR}${SYSTEMDDIR} ${DESTDIR}${USERSYSTEMDDIR} ${DESTDIR}${TMPFILESDIR}
- install ${SELINUXOPT} -d ${DESTDIR}${USERSYSTEMDDIR}
+ install ${SELINUXOPT} -m 755 -d ${DESTDIR}${SYSTEMDDIR} ${DESTDIR}${USERSYSTEMDDIR}
# Install APIV2 services
install ${SELINUXOPT} -m 644 contrib/systemd/user/podman.socket ${DESTDIR}${USERSYSTEMDDIR}/podman.socket
install ${SELINUXOPT} -m 644 contrib/systemd/user/podman.service ${DESTDIR}${USERSYSTEMDDIR}/podman.service