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

(From OE-Core rev: fe24a5d24cb2f6af9b5dd20089e36afe99e88ea1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2018-04-29 09:18:20 -07:00
committed by Richard Purdie
parent 30394ba0d4
commit c083cd8308

View File

@@ -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"