[ovs-git] [openvswitch/ovs] 102cec: rhel: rename openvswitch kmod rhel6 spec file

GitHub noreply at github.com
Fri Jul 13 00:43:47 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 102cec821d99435fb7d18300bab98d24931383c9
      https://github.com/openvswitch/ovs/commit/102cec821d99435fb7d18300bab98d24931383c9
  Author: Martin Xu <martinxu9.ovs at gmail.com>
  Date:   2018-07-12 (Thu, 12 Jul 2018)

  Changed paths:
    M Documentation/intro/install/rhel.rst
    M poc/playbook-centos-builder.yml
    M rhel/.gitignore
    M rhel/automake.mk
    A rhel/kmod-openvswitch-rhel6.spec.in
    R rhel/openvswitch-kmod-rhel6.spec.in

  Log Message:
  -----------
  rhel: rename openvswitch kmod rhel6 spec file

This patch only affects rhel6 spec file.

The rhel6 kmod spec file is renamed from openvswitch-kmod-rhel6.spec
to kmod-openvswitch-rhel6.spec . This is to prepare for the next
patches to support building multiple kernel versions in the main
package. The rename makes the spec file consistent with the resulted
kmod-openvswitch-<version>.rpm, which is the real package with
kernel module files.

Signed-off-by: Martin Xu <martinxu9.ovs at gmail.com>
Reviewed-by: Flavio Leitner <fbl at redhat.com>
CC: Greg Rose <gvrose8192 at gmail.com>
CC: Ben Pfaff <blp at ovn.org>
CC: Aaron Conole <aconole at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 757e3739020cbc88e047df370611823c0bfb1ed3
      https://github.com/openvswitch/ovs/commit/757e3739020cbc88e047df370611823c0bfb1ed3
  Author: Martin Xu <martinxu9.ovs at gmail.com>
  Date:   2018-07-12 (Thu, 12 Jul 2018)

  Changed paths:
    M rhel/automake.mk
    M rhel/kmod-openvswitch-rhel6.spec.in
    R rhel/openvswitch-kmod.files

  Log Message:
  -----------
  rhel: remove openvswitch-kmod package from build, rhel6

This patch only affects rhel6 spec file.

Previouly the kernel_module_package macro is used to generate spec file
template to build kmod-openvswitch RPM. The main package only contains
the openvswitch.conf for depmod. The macro is now removed. Everything is
built in the main package instead. This effectively removes the redudant
openvswitch-kmod package from the build.

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: Aaron Conole <aconole at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 89dd5819cf181a741271d297bc99fea4760f7ba5
      https://github.com/openvswitch/ovs/commit/89dd5819cf181a741271d297bc99fea4760f7ba5
  Author: Martin Xu <martinxu9.ovs at gmail.com>
  Date:   2018-07-12 (Thu, 12 Jul 2018)

  Changed paths:
    M rhel/automake.mk
    M rhel/kmod-openvswitch-rhel6.spec.in
    A rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh

  Log Message:
  -----------
  rhel: support kmod-openvswitch build against multiple kernels, rhel6

This patch only affects rhel6 spec file.

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.

This patch allows multiple kernel version numbers delimited by
whitespace to be passed as variable "kversion". kmod-openvswitch RPM
packages the kernel module .ko files from all specified kernel
versions.

This patch also includes a script to update the weak-update symlinks
if the system kernel version is upgraded or downgraded after
kmod-openvswitch is installed.

Signed-off-by: Martin Xu <martinxu9.ovs at gmail.com>
Co-authored-by: Greg Rose <gvrose8192 at gmail.com>
CC: Ben Pfaff <blp at ovn.org>
CC: Flavio Leitner <fbl at redhat.com>
CC: Aaron Conole <aconole at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/19041a098eda...89dd5819cf18
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list