summaryrefslogtreecommitdiff
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-07-20 20:53:04 +0100
commitd86fd6190b9ffd5012f229f319520615176c27ee (patch)
treea9e2990d17067f0128cee8793f9a96ed30768e86
parent208d1d72b0d248b12f800e566cb011aec9a1a084 (diff)
downloadopenembedded-core-d86fd6190b9ffd5012f229f319520615176c27ee.tar.gz
openembedded-core-d86fd6190b9ffd5012f229f319520615176c27ee.tar.bz2
openembedded-core-d86fd6190b9ffd5012f229f319520615176c27ee.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]. (From OE-Core rev: bd277f3a46e7fc764cc55c5354d2136fcfddc3c1) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-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 e714cadc2b..983a0222b9 100644
--- a/meta/recipes-connectivity/neard/neard.inc
+++ b/meta/recipes-connectivity/neard/neard.inc
@@ -21,7 +21,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