diff options
Diffstat (limited to 'meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb')
-rw-r--r-- | meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb b/meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb new file mode 100644 index 0000000000..d239c20b21 --- /dev/null +++ b/meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | SECTION = "console/network" | ||
2 | DESCRIPTION = "Enables PPP dial-in through a serial connection" | ||
3 | DEPENDS = "ppp" | ||
4 | RDEPENDS_${PN} = "ppp" | ||
5 | PR = "r8" | ||
6 | LICENSE = "MIT" | ||
7 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
8 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
9 | |||
10 | SRC_URI = "file://host-peer \ | ||
11 | file://ppp-dialin" | ||
12 | |||
13 | inherit allarch useradd | ||
14 | |||
15 | do_install() { | ||
16 | install -d ${D}${sysconfdir}/ppp/peers | ||
17 | install -m 0644 ${WORKDIR}/host-peer ${D}${sysconfdir}/ppp/peers/host | ||
18 | |||
19 | install -d ${D}${sbindir} | ||
20 | install -m 0755 ${WORKDIR}/ppp-dialin ${D}${sbindir} | ||
21 | } | ||
22 | |||
23 | USERADD_PACKAGES = "${PN}" | ||
24 | USERADD_PARAM_${PN} = "--system --home /dev/null \ | ||
25 | --no-create-home --shell ${sbindir}/ppp-dialin \ | ||
26 | --no-user-group --gid nogroup ppp" | ||