diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-09-14 14:48:52 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-16 22:14:05 +0100 |
commit | 14adc48816bad158c04807ba1c6bb61978883b23 (patch) | |
tree | f21e0502de4f4cbb28d7d303db9a97777f922426 /meta/recipes-connectivity/portmap/portmap.inc | |
parent | d11ec7ff01aed928d48f498457df456a9a784ed3 (diff) | |
download | poky-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.inc | 5 |
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 | |||
13 | S = "${WORKDIR}/portmap_5beta" | 14 | S = "${WORKDIR}/portmap_5beta" |
14 | 15 | ||
15 | INITSCRIPT_NAME = "portmap" | 16 | INITSCRIPT_NAME = "portmap" |
16 | INITSCRIPT_PARAMS = "start 10 2 3 4 5 . stop 32 0 1 6 ." | 17 | INITSCRIPT_PARAMS = "start 10 2 3 4 5 . stop 32 0 1 6 ." |
17 | 18 | ||
18 | inherit update-rc.d | 19 | inherit update-rc.d systemd |
20 | |||
21 | SYSTEMD_SERVICE_${PN} = "portmap.service" | ||
19 | 22 | ||
20 | sbindir = "/sbin" | 23 | sbindir = "/sbin" |
21 | 24 | ||