diff options
author | Ben Shelton <ben.shelton@ni.com> | 2014-10-29 09:39:07 -0500 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-10-30 09:15:20 +0100 |
commit | 6aee5729848d48f57fdab9c6aafc61f86ad86135 (patch) | |
tree | 1e1a6e598d10e844219ccf23d2e48c9386f8c7fd /meta-networking | |
parent | d2f6561a2497babda234dae012709cb661fe38bd (diff) | |
download | meta-openembedded-6aee5729848d48f57fdab9c6aafc61f86ad86135.tar.gz |
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.
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb b/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb index 53801cbd7..1fb722a44 100644 --- a/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb +++ b/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb | |||
@@ -19,6 +19,9 @@ CFLAGS += "-fno-inline" | |||
19 | EXTRA_OECONF += "--enable-password-save --enable-iproute2" | 19 | EXTRA_OECONF += "--enable-password-save --enable-iproute2" |
20 | EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'pam', '', '--disable-plugin-auth-pam', d)}" | 20 | EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'pam', '', '--disable-plugin-auth-pam', d)}" |
21 | 21 | ||
22 | # Explicitly specify IPROUTE to bypass the configure-time check for /sbin/ip on the host. | ||
23 | EXTRA_OECONF += "IPROUTE=/sbin/ip" | ||
24 | |||
22 | do_install_append() { | 25 | do_install_append() { |
23 | install -d ${D}/${sysconfdir}/init.d | 26 | install -d ${D}/${sysconfdir}/init.d |
24 | install -d ${D}/${sysconfdir}/openvpn | 27 | install -d ${D}/${sysconfdir}/openvpn |