Skip to content

Commit

Permalink
Add related symbolic link to pass DPDK compile
Browse files Browse the repository at this point in the history
Change-Id: I385c3cad80a9b1365fc3c3ad5b1334d66dfc8ab8
Close-Bug: 1732853
  • Loading branch information
huzhijiang committed Nov 23, 2017
1 parent e780466 commit e8a153c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contrib/template-override/ovs-dpdk.j2
Expand Up @@ -46,6 +46,11 @@

{{ macros.install_packages(ovs_dpdk_packages | customizable("packages")) }}

{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
RUN mkdir -p /lib/modules/$(uname -r) \
&& ln -s /usr/src/kernels/$(uname -r) /lib/modules/$(uname -r)/build
{% endif %}

ADD plugins-archive /
RUN ln -s /plugins/ovsdpdk-plugin-ovs-archive-*/ /ovs \
&& ln -s /plugins/ovsdpdk-plugin-dpdk-archive-*/ /dpdk
Expand Down

0 comments on commit e8a153c

Please sign in to comment.