mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
vpnc: stage vpnc-script
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> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
parent
eb4ce4065d
commit
3dfea34a0d
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user