On Mon, Aug 20, 2018 at 02:24:05PM -0700, Martin Xu wrote: > This patch ports changes from kmod rhel6 spec file to fedora spec file, > to support packaging kernel modules built against multiple versions of > kernel sources. > > RHEL 7.4 introduced backward incompatible changes in the kernel. As > a result, prebuilt PRM packages against kernels newer than 693.17.1 > will cannot be used on systems with older kernels, vice versa. > > Intended to work only on RHEL 7.4 (kernel version 3.10.0-693.yy.zz). > This patch allows multiple kernel version numbers delimited by > whitespace to be passed as variable "kversion". The result RPM packages > the kernel module .ko files from all specified kernel versions. For > example, > > make rpm-fedora-kmod \ > RPMBUILD_OPT='-D "kversion 3.10.0-693.1.1.el7.x86_64 \ > 3.10.0-693.17.1.el7.x86_64"' > > By default, make tries to build against the current running kernel. > > This patch also includes a script to update the weak-update symlinks > if the system kernel version is upgraded or downgraded after > openvswitch-kmod is installed. > > Signed-off-by: Martin Xu <[email protected]> > CC: Greg Rose <[email protected]> > CC: Flavio Leitner <[email protected]> > ---
LGTM, though I have not tested. Acked-by: Flavio Leitner <[email protected]> _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
