This will be used by an upcoming commit to have @begin_ and @end_ dpdk
blocks to keep dpdk specific policy decisions only active when dpdk is
used.

Acked-by: Flavio Leitner <f...@sysclose.org>
Signed-off-by: Aaron Conole <acon...@redhat.com>
Tested-by: Jean Hsiao <jhs...@redhat.com>
---
 rhel/openvswitch-fedora.spec.in                             | 1 +
 selinux/automake.mk                                         | 2 +-
 selinux/{openvswitch-custom.te => openvswitch-custom.te.in} | 0
 3 files changed, 2 insertions(+), 1 deletion(-)
 rename selinux/{openvswitch-custom.te => openvswitch-custom.te.in} (100%)

diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 59e8ff8..dd79fa9 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -239,6 +239,7 @@ Docker network plugins for OVN.
        > rhel/usr_lib_systemd_system_ovs-vswitchd.service
 
 make %{?_smp_mflags}
+make selinux/openvswitch-custom.te
 cd selinux
 make -f %{_datadir}/selinux/devel/Makefile
 
diff --git a/selinux/automake.mk b/selinux/automake.mk
index 1088f36..e8871aa 100644
--- a/selinux/automake.mk
+++ b/selinux/automake.mk
@@ -6,4 +6,4 @@
 # without warranty of any kind.
 
 EXTRA_DIST += \
-        selinux/openvswitch-custom.te
+        selinux/openvswitch-custom.te.in
diff --git a/selinux/openvswitch-custom.te b/selinux/openvswitch-custom.te.in
similarity index 100%
rename from selinux/openvswitch-custom.te
rename to selinux/openvswitch-custom.te.in
-- 
2.9.4

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to