From 17f2551111b27ba37bd79a9a233958e188da033f Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Tue, 28 Jun 2016 23:10:10 +0200 Subject: vswitchperf: Arch-indep build. FIXME: dpdk, ovs, qemu etc. building only supports x86 for now. TODO: conf dir should be patched too. Signed-off-by: Alexandru Avadanii --- ...-u-build_base_machine-Arch-indep-libdir-s.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 patches/vswitchperf/0002-s-u-build_base_machine-Arch-indep-libdir-s.patch (limited to 'patches/vswitchperf/0002-s-u-build_base_machine-Arch-indep-libdir-s.patch') diff --git a/patches/vswitchperf/0002-s-u-build_base_machine-Arch-indep-libdir-s.patch b/patches/vswitchperf/0002-s-u-build_base_machine-Arch-indep-libdir-s.patch new file mode 100644 index 00000000..0a92144f --- /dev/null +++ b/patches/vswitchperf/0002-s-u-build_base_machine-Arch-indep-libdir-s.patch @@ -0,0 +1,30 @@ +From: Alexandru Avadanii +Date: Tue, 28 Jun 2016 21:35:44 +0200 +Subject: [PATCH] s/u/build_base_machine: Arch indep libdir(s). + +The same fixes should be applied on arm64, for example. + +Signed-off-by: Alexandru Avadanii +--- + systems/ubuntu/build_base_machine.sh | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/systems/ubuntu/build_base_machine.sh b/systems/ubuntu/build_base_machine.sh +index a2b48a2..7cbe78e 100755 +--- a/systems/ubuntu/build_base_machine.sh ++++ b/systems/ubuntu/build_base_machine.sh +@@ -52,11 +52,12 @@ apt-get -y install libfuse-dev + # packages related to VM + + # a few manual fix up on a ubuntu +-cd /lib/x86_64-linux-gnu ++local arch=$(uname -m) ++cd /lib/${arch}-linux-gnu + ln -sf libssl.so.1.0.0 libssl.so + ln -sf libcrypto.so.1.0.0 libcrypto.so + +-cd /usr/lib/x86_64-linux-gnu ++cd /usr/lib/${arch}-linux-gnu + ln -sf libxml2.so.2 libxml2.so + + -- cgit 1.2.3-korg