Add related symbolic link to pass DPDK compile

Change-Id: I385c3cad80a9b1365fc3c3ad5b1334d66dfc8ab8
Close-Bug: 1732853
This commit is contained in:
Zhijiang Hu 2017-11-17 03:16:55 -05:00
parent e78046665c
commit e8a153c8c5
1 changed files with 5 additions and 0 deletions

View File

@ -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