[ovs-git] [openvswitch/ovs] 9e8c33: rhel: openvswitch-kmod-fedora.spec.in file bug fix

GitHub noreply at github.com
Wed Sep 5 21:22:49 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 9e8c33133c2b0ef6c49a07da4395483f23aff090
      https://github.com/openvswitch/ovs/commit/9e8c33133c2b0ef6c49a07da4395483f23aff090
  Author: Martin Xu <martinxu9.ovs at gmail.com>
  Date:   2018-09-05 (Wed, 05 Sep 2018)

  Changed paths:
    M rhel/openvswitch-kmod-fedora.spec.in

  Log Message:
  -----------
  rhel: openvswitch-kmod-fedora.spec.in file bug fix

Patch 22c33c303932 used /usr/src/linux/<kernel version> as path of the
linux headers, which does not work for SLES. Use /lib/modules/<kernel
version>/build instead.

Fixes 22c33c303932 (rhel: support kmod build against mulitple kernel versions,
fedora)

Signed-off-by: Martin Xu <martinxu9.ovs at gmail.com>
CC: Greg Rose <gvrose8192 at gmail.com>
CC: Markos Chandras <mchandras at suse.de>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Flavio Leitner <fbl at sysclose.org>
Reviewed-by: Markos Chandras <mchandras at suse.de>


  Commit: 56bfa517d9c8face982efc852644c72e1b5b1564
      https://github.com/openvswitch/ovs/commit/56bfa517d9c8face982efc852644c72e1b5b1564
  Author: Martin Xu <martinxu9.ovs at gmail.com>
  Date:   2018-09-05 (Wed, 05 Sep 2018)

  Changed paths:
    M datapath/linux/Makefile.main.in
    M rhel/kmod-openvswitch-rhel6.spec.in
    M rhel/openvswitch-kmod-fedora.spec.in

  Log Message:
  -----------
  rhel: use full path for /sbin/depmod

Fixes: 22c33c303932 (rhel: support kmod build against mulitple kernel versions, fedora)
Fixes: c8cd1307b248 (rhel: support kmod build against multiple 7.2 kernels, rhel6)
Signed-off-by: Martin Xu <martinxu9.ovs at gmail.com>
CC: Greg Rose <gvrose8192 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Flavio Leitner <fbl at sysclose.org>


  Commit: eac9f26661aeb3bf565a4730e04f1f05f44bf444
      https://github.com/openvswitch/ovs/commit/eac9f26661aeb3bf565a4730e04f1f05f44bf444
  Author: Martin Xu <martinxu9.ovs at gmail.com>
  Date:   2018-09-05 (Wed, 05 Sep 2018)

  Changed paths:
    M rhel/openvswitch-kmod-fedora.spec.in

  Log Message:
  -----------
  rhel: allow passing more flags to configure, fedora

Define a variable _ovs_config_extra_flags to allow passing more flags to
configure when building OVS kmod RPM. For example, to build with a
non-standard openssl and add an RPATH, use the following command

make rpm-fedora-kmod RPMBUILD_OPT='-D "_ovs_config_extra_flags
--with-openssl=<path to your openssl header> LDFLAGS=\"\${LDFLAGS} -Xlinker
-rpath=<path to your openssl lib>\""'

Signed-off-by: Martin Xu <martinxu9.ovs at gmail.com>
CC: Greg Rose <gvrose8192 at gmail.com>
CC: Flavio Leitner <fbl at sysclose.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Flavio Leitner <fbl at sysclose.org>
Reviewed-by: Markos Chandras <mchandras at suse.de>


Compare: https://github.com/openvswitch/ovs/compare/71972fcaa2aa...eac9f26661ae
      **NOTE:** This service has 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