All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2 1/2] vpnc: stage vpnc-script
@ 2016-04-04 12:43 Ioan-Adrian Ratiu
  2016-04-04 12:43 ` [meta-oe][PATCH v2 2/2] openconnect: add recipe Ioan-Adrian Ratiu
  0 siblings, 1 reply; 3+ messages in thread
From: Ioan-Adrian Ratiu @ 2016-04-04 12:43 UTC (permalink / raw)
  To: openembedded-devel

The vpn connection handling script is used during building openconnect
so we need to stage it.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
---
 meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb b/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb
index 0670c5e..ccb4494 100644
--- a/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb
+++ b/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb
@@ -24,6 +24,13 @@ do_install () {
     install ${WORKDIR}/default.conf ${D}${sysconfdir}/vpnc/default.conf
 }
 
+SYSROOT_PREPROCESS_FUNCS += "vpnc_sysroot_preprocess"
+
+vpnc_sysroot_preprocess () {
+    install -d ${SYSROOT_DESTDIR}${sysconfdir}/vpnc
+    install -m 755 ${D}${sysconfdir}/vpnc/vpnc-script ${SYSROOT_DESTDIR}${sysconfdir}/vpnc
+}
+
 CONFFILES_${PN} = "${sysconfdir}/vpnc/default.conf"
 RDEPENDS_${PN} = "perl-module-io-file"
 RRECOMMENDS_${PN} = "kernel-module-tun"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-27 10:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-04 12:43 [meta-oe][PATCH v2 1/2] vpnc: stage vpnc-script Ioan-Adrian Ratiu
2016-04-04 12:43 ` [meta-oe][PATCH v2 2/2] openconnect: add recipe Ioan-Adrian Ratiu
2016-04-27 10:27   ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.