Skip to content

Commit 011344b

Browse files
Take dependency on selinux to fix openvswitch failure
openvswitch-selinux-policy depends on being able to change /etc/sysconfig/selinux, but doesn't take a dependency on selinux-policy. Until they change it, we need to take that dependency ourselves.
1 parent 80abd58 commit 011344b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

origin.spec

+2
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ Summary: %{product_name} Pod
175175
%package sdn-ovs
176176
Summary: %{product_name} SDN Plugin for Open vSwitch
177177
Requires: openvswitch >= %{openvswitch_version}
178+
# selinux-policy is required because openvswitch doesn't yet take a dependency on selinux-policy but changes the files
179+
Requires: selinux-policy
178180
Requires: %{name}-node = %{version}-%{release}
179181
Requires: bridge-utils
180182
Requires: ethtool

0 commit comments

Comments
 (0)