summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/portmap/portmap.inc
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-09-14 14:48:52 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-16 22:14:05 +0100
commit14adc48816bad158c04807ba1c6bb61978883b23 (patch)
treef21e0502de4f4cbb28d7d303db9a97777f922426 /meta/recipes-connectivity/portmap/portmap.inc
parentd11ec7ff01aed928d48f498457df456a9a784ed3 (diff)
downloadpoky-14adc48816bad158c04807ba1c6bb61978883b23.tar.gz
portmap: add systemd service file
Add systemd service file for systemd support. (From OE-Core rev: cc44cb2888f1ddecdd01d7bc414f7ac3043d1372) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/portmap/portmap.inc')
-rw-r--r--meta/recipes-connectivity/portmap/portmap.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/portmap/portmap.inc b/meta/recipes-connectivity/portmap/portmap.inc
index 9b42859212..f5f7fde8be 100644
--- a/meta/recipes-connectivity/portmap/portmap.inc
+++ b/meta/recipes-connectivity/portmap/portmap.inc
@@ -10,12 +10,15 @@ SRC_URI = "${DEBIAN_MIRROR}/main/p/portmap/portmap_5.orig.tar.gz \
10 ${DEBIAN_MIRROR}/main/p/portmap/portmap_${PV}.diff.gz \ 10 ${DEBIAN_MIRROR}/main/p/portmap/portmap_${PV}.diff.gz \
11 file://portmap.init \ 11 file://portmap.init \
12 file://make.patch;apply=yes" 12 file://make.patch;apply=yes"
13
13S = "${WORKDIR}/portmap_5beta" 14S = "${WORKDIR}/portmap_5beta"
14 15
15INITSCRIPT_NAME = "portmap" 16INITSCRIPT_NAME = "portmap"
16INITSCRIPT_PARAMS = "start 10 2 3 4 5 . stop 32 0 1 6 ." 17INITSCRIPT_PARAMS = "start 10 2 3 4 5 . stop 32 0 1 6 ."
17 18
18inherit update-rc.d 19inherit update-rc.d systemd
20
21SYSTEMD_SERVICE_${PN} = "portmap.service"
19 22
20sbindir = "/sbin" 23sbindir = "/sbin"
21 24