[ovs-dev] [PATCH v6 2/2] rhel: bug fix kmod spec file, rhel6

Ben Pfaff blp at ovn.org
Fri Aug 3 22:19:21 UTC 2018


On Wed, Aug 01, 2018 at 04:00:59PM -0700, Martin Xu wrote:
> This patch fixes a scenario not working for RHEL7.3 in commit 89dd5819cf18.
> When multiple versions passed into the kversion for the spec file, the
> variable is used as is for the kernel module paths for command
> weak-modules --add-modules. Then the modules cannot be found.
> 
> Fixes: 89dd5819cf18 (rhel: support kmod-openvswitch build against
> multiple kernels, rhel6)
> 
> Signed-off-by: Martin Xu <martinxu9.ovs at gmail.com>
> CC: Greg Rose <gvrose8192 at gmail.com>
> CC: Ben Pfaff <blp at ovn.org>
> CC: Flavio Leitner <fbl at redhat.com>
> CC: Yi-Hung Wei <yihung.wei at gmail.com>

These patches look soooo brittle to me, so I wouldn't be surprised if at
some point we need to some up with a more systematic way to handle this
kind of backward-incompatible change.  I applied them to master and
branch-2.10 for now; if someone steps forward with a better way, I'll
look at it, though.

Thanks a lot!

Ben


More information about the dev mailing list