From 6f7e0e837a7d44cd5fe3e85a011b6b620f2790a9 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Fri, 2 Mar 2018 09:06:17 -0500 Subject: [PATCH] Have make file create the oci/hooks.d directory Signed-off-by: Daniel J Walsh --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 807d1b9a..314c8370 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,7 @@ LIBEXECDIR ?= ${PREFIX}/libexec MANDIR ?= ${PREFIX}/share/man ETCDIR ?= ${DESTDIR}/etc ETCDIR_CRIO ?= ${ETCDIR}/crio +DATAROOTDIR ?= ${PREFIX}/share/containers BUILDTAGS ?= seccomp $(shell hack/btrfs_tag.sh) $(shell hack/libdm_installed.sh) $(shell hack/libdm_no_deferred_remove_tag.sh) $(shell hack/btrfs_installed_tag.sh) $(shell hack/ostree_tag.sh) $(shell hack/selinux_tag.sh) CRICTL_CONFIG_DIR=${DESTDIR}/etc @@ -151,6 +152,7 @@ install.man: $(MANPAGES) install ${SELINUXOPT} -m 644 $(filter %.8,$(MANPAGES)) -t $(MANDIR)/man8 install.config: crio.conf + install ${SELINUXOPT} -d $(DATAROOTDIR)/oci/hooks.d install ${SELINUXOPT} -D -m 644 crio.conf $(ETCDIR_CRIO)/crio.conf install ${SELINUXOPT} -D -m 644 seccomp.json $(ETCDIR_CRIO)/seccomp.json install ${SELINUXOPT} -D -m 644 crio-umount.conf $(OCIUMOUNTINSTALLDIR)/crio-umount.conf