summaryrefslogtreecommitdiff
path: root/recipes-connectivity/ppp/ppp_%.bbappend
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-09-05 19:52:26 -0500
committerJohn Klug <john.klug@multitech.com>2017-09-14 17:41:52 -0500
commitef26845544975527a0ced7381ca7a0fc8b0c8888 (patch)
treeb063466157c023874ac21a12acb4aece405d4ab7 /recipes-connectivity/ppp/ppp_%.bbappend
parent380abd487551ecf881a31c78eb5ad76fce781b6d (diff)
downloadmeta-mlinux-ef26845544975527a0ced7381ca7a0fc8b0c8888.tar.gz
meta-mlinux-ef26845544975527a0ced7381ca7a0fc8b0c8888.tar.bz2
meta-mlinux-ef26845544975527a0ced7381ca7a0fc8b0c8888.zip
Get ppp to work from boot up
Diffstat (limited to 'recipes-connectivity/ppp/ppp_%.bbappend')
-rw-r--r--recipes-connectivity/ppp/ppp_%.bbappend17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes-connectivity/ppp/ppp_%.bbappend b/recipes-connectivity/ppp/ppp_%.bbappend
new file mode 100644
index 0000000..54b2de1
--- /dev/null
+++ b/recipes-connectivity/ppp/ppp_%.bbappend
@@ -0,0 +1,17 @@
+SRC_URI_append = "\
+ file://init.patch;patchdir=.. \
+ file://poff.patch;patchdir=.. \
+ file://default"
+
+PR = "r9"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+
+FILES_${PN} += "/etc/default/ppp"
+
+CONFFILES_${PN} += "${sysconfdir}/default/ppp"
+
+do_install_append() {
+ install -d -m 0755 ${D}/${sysconfdir}/default/
+ install -m 644 ${WORKDIR}/default ${D}/${sysconfdir}/default/ppp
+}