summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLokesh Mandvekar <lsm5@fedoraproject.org>2019-11-10 13:42:29 -0500
committerLokesh Mandvekar <lsm5@fedoraproject.org>2019-11-10 13:42:29 -0500
commit2785615209a1c34650f75d7827f4c6da0bf1078f (patch)
tree8ed4321dbe4739cf3cb908ae8ba8be8b94f49d8f /Makefile
parentb713e5371fa8767067bd2c329a3744ea593b2ade (diff)
downloadpodman-2785615209a1c34650f75d7827f4c6da0bf1078f.tar.gz
podman-2785615209a1c34650f75d7827f4c6da0bf1078f.tar.bz2
podman-2785615209a1c34650f75d7827f4c6da0bf1078f.zip
create a separate install target for seccomp
podman in Fedora gets seccomp.json from containers-common while the one in Ubuntu PPA gets seccomp.json from containers-golang. This change will let me use install.config target unmodified in downstream packages. Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2c1ded9d2..b3566cd1e 100644
--- a/Makefile
+++ b/Makefile
@@ -410,6 +410,9 @@ install.man: docs
install.config:
install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(SHAREDIR_CONTAINERS)
install ${SELINUXOPT} -m 644 libpod.conf $(DESTDIR)$(SHAREDIR_CONTAINERS)/libpod.conf
+
+install.seccomp:
+ install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(SHAREDIR_CONTAINERS)
install ${SELINUXOPT} -m 644 seccomp.json $(DESTDIR)$(SHAREDIR_CONTAINERS)/seccomp.json
install.completions: