summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/ppp-dialin
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/ppp-dialin')
-rw-r--r--meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb12
1 files changed, 6 insertions, 6 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
index b0097aa480..0ee47d47c2 100644
--- a/meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb
+++ b/meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb
@@ -2,8 +2,7 @@ SUMMARY = "Enables PPP dial-in through a serial connection"
2SECTION = "console/network" 2SECTION = "console/network"
3DESCRIPTION = "PPP dail-in provides a point to point protocol (PPP), so that other computers can dial up to it and access connected networks." 3DESCRIPTION = "PPP dail-in provides a point to point protocol (PPP), so that other computers can dial up to it and access connected networks."
4DEPENDS = "ppp" 4DEPENDS = "ppp"
5RDEPENDS_${PN} = "ppp" 5RDEPENDS:${PN} = "ppp"
6PR = "r8"
7LICENSE = "MIT" 6LICENSE = "MIT"
8LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 7LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
9 8
@@ -12,17 +11,18 @@ SRC_URI = "file://host-peer \
12 11
13inherit allarch useradd 12inherit allarch useradd
14 13
15S = "${WORKDIR}" 14S = "${WORKDIR}/sources"
15UNPACKDIR = "${S}"
16 16
17do_install() { 17do_install() {
18 install -d ${D}${sysconfdir}/ppp/peers 18 install -d ${D}${sysconfdir}/ppp/peers
19 install -m 0644 ${WORKDIR}/host-peer ${D}${sysconfdir}/ppp/peers/host 19 install -m 0644 ${S}/host-peer ${D}${sysconfdir}/ppp/peers/host
20 20
21 install -d ${D}${sbindir} 21 install -d ${D}${sbindir}
22 install -m 0755 ${WORKDIR}/ppp-dialin ${D}${sbindir} 22 install -m 0755 ${S}/ppp-dialin ${D}${sbindir}
23} 23}
24 24
25USERADD_PACKAGES = "${PN}" 25USERADD_PACKAGES = "${PN}"
26USERADD_PARAM_${PN} = "--system --home /dev/null \ 26USERADD_PARAM:${PN} = "--system --home /dev/null \
27 --no-create-home --shell ${sbindir}/ppp-dialin \ 27 --no-create-home --shell ${sbindir}/ppp-dialin \
28 --no-user-group --gid nogroup ppp" 28 --no-user-group --gid nogroup ppp"