diff options
author | Cristian Iorga <cristian.iorga@intel.com> | 2015-03-18 17:38:39 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-22 14:42:14 +0000 |
commit | b4578680f69b8f4727f379274b3e0aecc86bc927 (patch) | |
tree | 4cd1f901be85af0dee6ff87fb62658df5123c7eb /meta/recipes-connectivity | |
parent | 4f1ce617543accaca0a7df0d9ab7b9a4d6a3f3ab (diff) | |
download | poky-b4578680f69b8f4727f379274b3e0aecc86bc927.tar.gz |
neard: fix the install path in init scripts
The neard make scripts will place the daemon executable
in /usr/lib/neard/nfc/neard. Change the path accordingly
in init scripts.
Fixes [YOCTO #7390].
(From OE-Core rev: bd277f3a46e7fc764cc55c5354d2136fcfddc3c1)
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/neard/neard.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/neard/neard.inc b/meta/recipes-connectivity/neard/neard.inc index 6b6b1da8c1..4042a69b98 100644 --- a/meta/recipes-connectivity/neard/neard.inc +++ b/meta/recipes-connectivity/neard/neard.inc | |||
@@ -25,7 +25,7 @@ do_install() { | |||
25 | do_install_append() { | 25 | do_install_append() { |
26 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 26 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
27 | install -d ${D}${sysconfdir}/init.d/ | 27 | install -d ${D}${sysconfdir}/init.d/ |
28 | sed "s:@installpath@:${libexecdir}:" ${WORKDIR}/neard.in \ | 28 | sed "s:@installpath@:${libexecdir}/nfc:" ${WORKDIR}/neard.in \ |
29 | > ${D}${sysconfdir}/init.d/neard | 29 | > ${D}${sysconfdir}/init.d/neard |
30 | chmod 0755 ${D}${sysconfdir}/init.d/neard | 30 | chmod 0755 ${D}${sysconfdir}/init.d/neard |
31 | fi | 31 | fi |