diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
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..68b83d00f1 --- /dev/null +++ b/meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | SUMMARY = "Enables PPP dial-in through a serial connection" | ||
2 | SECTION = "console/network" | ||
3 | DEPENDS = "ppp" | ||
4 | RDEPENDS_${PN} = "ppp" | ||
5 | PR = "r8" | ||
6 | LICENSE = "MIT" | ||
7 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ | ||
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" | ||