Open vSwitch 错误记录。

  1. rpmbuild -bb rhel/openvswitch-kmod-rhel6.spec
    
    produces warning:
    Installed (but unpackaged) file(s) found:
    /etc/depmod.d/openvswitch.conf
    

解决方法:

在openvswitch-kmod-rhel6.spec末尾出添加

%files
%defattr(-,root,root,-)
/etc/depmod.d/openvswitch.conf