In case the ubuntu:16.04 docker image already exists, update
apt cache before installing packages, to prevent stale entries
(packages that meanwhile were bumped to a newer version) from
breaking the build.
Change-Id: Ide95c1ecc76ee542b22f16df0b8d5fc603b4503d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Append "_amd64" (or "_arm64" for binaries built on AArch64) to
the names of plugin archives containing DEB binaries.
E.g. <ovs-dpdk.tar.gz> for <amd64> becomes <ovs-dpdk_amd64.tar.gz>
Change-Id: Ib54e56ad9cc764cf4260b72236e306aaa8857c0e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
- ovs-dpdk/debian/control: Add arm64 to supported arch list
- Dockerfile: For AArch64 native builds, pull Docker image from
"aarch64/ubuntu:16.04".
- install.sh: Simplify and remove version harcodes
Since only one set of packages (DPDK/OVS/OVS-DPDK) is shipped per
archive, we can safely wildcard the installed versions in
install.sh, which previously hardcoded DPDK and OVS versions.
This is helpful for arm64, which has a custom deb subversion
for DPDK and also has different package names ("*_arm64.deb").
- build-ovs-*.sh: Fix debian changelog date formatting (two spaces)
Change-Id: I0f2ade6516040ae6295ca61c37beba1fd87d28c1
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
For arm64 builds, some packages are fetched from linux.enea.com,
leading to package version being reported as "older", although in
fact it is newer (dpkg version comparison is not that great with
suffixes). Also, since we don't explicitly add the GPG key of
the linux.enea.com repo yet, apt is complaining about unverified
package sources.
Bypass the above by using "--force-yes", next to "-y".
Change-Id: I4899fe62aaad9a13f8b2f9ffbdf2f3631ecba164
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
ovs with dpdk installation fails due to dpdk dependency change.
To fix this issue, dpdk is built from mos debian. with this fix,
ovs with dpdk can be installed. Another fix is expected to fix new
issue after ovs with dpdk installation.
Change-Id: Ia69bfbf64a820575fd5453f18ad33052a3a490af
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
1. rebase to ovs commit 92043ab8ffd449dfd50c3e716d6db06d04af70d7
2. add DPDK for ovs with NSH
3. clean up later for easy code review
a) change openvswitch-dpdk_2.5.90 to openvswitch_2.6-dpdk_16.07
a) delete dpdk_2.2.0
b) delete openvswitch-nsh-dpdk_2.5.90
Change-Id: I4d8b16a1c2517dba2b9356e6436885b65ac4b307
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>