Message ID | 20170901171740.27234-4-aconole@redhat.com |
---|---|
State | Accepted |
Headers | show |
Series | Address some fallout from the selinux patches | expand |
On 1 September 2017 at 10:17, Aaron Conole <aconole@redhat.com> wrote: > The commit 7bc1aae71e89 ("rhel: make the selinux policy intermediate") > broke the centos RPM builds. This commit ensures that the centos rpmbuild > will first create the openvswitch-custom.te file, and then create the > final policy files. > > Fixes: 7bc1aae71e89 ("rhel: make the selinux policy intermediate") > Reported-by: Ansis Atteka <aatteka@ovn.org> > Signed-off-by: Aaron Conole <aconole@redhat.com> Acked-by: Ansis Atteka <aatteka@ovn.org>
diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in index 412f3cd..e510d35 100644 --- a/rhel/openvswitch.spec.in +++ b/rhel/openvswitch.spec.in @@ -68,6 +68,7 @@ Tailored Open vSwitch SELinux policy ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=%{_localstatedir} \ --libdir=%{_libdir} --enable-ssl --enable-shared make %{_smp_mflags} +make selinux/openvswitch-custom.te cd selinux make -f %{_datadir}/selinux/devel/Makefile
The commit 7bc1aae71e89 ("rhel: make the selinux policy intermediate") broke the centos RPM builds. This commit ensures that the centos rpmbuild will first create the openvswitch-custom.te file, and then create the final policy files. Fixes: 7bc1aae71e89 ("rhel: make the selinux policy intermediate") Reported-by: Ansis Atteka <aatteka@ovn.org> Signed-off-by: Aaron Conole <aconole@redhat.com> --- rhel/openvswitch.spec.in | 1 + 1 file changed, 1 insertion(+)