summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/neard
diff options
context:
space:
mode:
authorCristian Iorga <cristian.iorga@intel.com>2015-03-18 17:38:39 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-22 09:18:31 +0000
commitbd277f3a46e7fc764cc55c5354d2136fcfddc3c1 (patch)
treec042eb92a46295b87db34f4e8abc302223f64618 /meta/recipes-connectivity/neard
parentc799c753d56fcb9468d32d7622817ecf7932cdf4 (diff)
downloadopenembedded-core-bd277f3a46e7fc764cc55c5354d2136fcfddc3c1.tar.gz
openembedded-core-bd277f3a46e7fc764cc55c5354d2136fcfddc3c1.tar.bz2
openembedded-core-bd277f3a46e7fc764cc55c5354d2136fcfddc3c1.zip
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]. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/neard')
-rw-r--r--meta/recipes-connectivity/neard/neard.inc2
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() {
do_install_append() {
if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
install -d ${D}${sysconfdir}/init.d/
- sed "s:@installpath@:${libexecdir}:" ${WORKDIR}/neard.in \
+ sed "s:@installpath@:${libexecdir}/nfc:" ${WORKDIR}/neard.in \
> ${D}${sysconfdir}/init.d/neard
chmod 0755 ${D}${sysconfdir}/init.d/neard
fi