summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-04-29 09:18:20 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-09 10:47:27 +0100
commitfe24a5d24cb2f6af9b5dd20089e36afe99e88ea1 (patch)
tree8908c9b75221d56e7c6a1d71fdf0599c5e6540ce /meta/recipes-connectivity
parentd3589298f5ae0bdedbc1f265ed964841a9d11cfd (diff)
downloadopenembedded-core-fe24a5d24cb2f6af9b5dd20089e36afe99e88ea1.tar.gz
ppp: Install net/ppp_defs.h on musl
This header is used by other apps e.g. ippool glibc provides an internal version which it should not Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/ppp/ppp_2.4.7.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/ppp/ppp_2.4.7.bb b/meta/recipes-connectivity/ppp/ppp_2.4.7.bb
index a5f764f6ec..a1bb7d71c1 100644
--- a/meta/recipes-connectivity/ppp/ppp_2.4.7.bb
+++ b/meta/recipes-connectivity/ppp/ppp_2.4.7.bb
@@ -80,6 +80,10 @@ do_install_append () {
chmod u+s ${D}${sbindir}/pppd
}
+do_install_append_libc-musl () {
+ install -Dm 0644 ${S}/include/net/ppp_defs.h ${D}${includedir}/net/ppp_defs.h
+}
+
CONFFILES_${PN} = "${sysconfdir}/ppp/pap-secrets ${sysconfdir}/ppp/chap-secrets ${sysconfdir}/ppp/options"
PACKAGES =+ "${PN}-oa ${PN}-oe ${PN}-radius ${PN}-winbind ${PN}-minconn ${PN}-password ${PN}-l2tp ${PN}-tools"
FILES_${PN} = "${sysconfdir} ${bindir} ${sbindir}/chat ${sbindir}/pppd ${systemd_unitdir}/system/ppp@.service"