From e6fb230bd4e6619a659f4165a12dffdff75893b3 Mon Sep 17 00:00:00 2001 From: Ben Shelton Date: Wed, 29 Oct 2014 09:39:07 -0500 Subject: [PATCH] openvpn: bypass check for /sbin/ip on the host In the commit 'openvpn: use default iproute2 path', the configure flag to explicitly set the iproute2 path was removed, since busybox now provides the 'ip' applet at the default path. However, setting this flag is necessary to bypass the configure-time check for /sbin/ip on the host, which will otherwise fail if iproute2 is not installed on the host. Add back the flag (pointing to the correct path), and add a comment to describe why this is necessary. (From meta-openembedded rev: 9efaed99125b1c4324663d9a1b2d3319c74e7278) Signed-off-by: Ben Shelton Signed-off-by: Martin Jansa Signed-off-by: Patrick Ohly --- .../meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-openembedded/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb b/meta-openembedded/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb index 53801cb..1fb722a 100644 --- a/meta-openembedded/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb +++ b/meta-openembedded/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb @@ -19,6 +19,9 @@ CFLAGS += "-fno-inline" EXTRA_OECONF += "--enable-password-save --enable-iproute2" EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'pam', '', '--disable-plugin-auth-pam', d)}" +# Explicitly specify IPROUTE to bypass the configure-time check for /sbin/ip on the host. +EXTRA_OECONF += "IPROUTE=/sbin/ip" + do_install_append() { install -d ${D}/${sysconfdir}/init.d install -d ${D}/${sysconfdir}/openvpn -- 2.7.4