[oe-commits] Cristian Iorga : neard: fix the install path in init scripts

git at git.openembedded.org git at git.openembedded.org
Sun Mar 22 14:43:05 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: bd277f3a46e7fc764cc55c5354d2136fcfddc3c1
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=bd277f3a46e7fc764cc55c5354d2136fcfddc3c1

Author: Cristian Iorga <cristian.iorga at intel.com>
Date:   Wed Mar 18 17:38:39 2015 +0200

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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-connectivity/neard/neard.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/neard/neard.inc b/meta/recipes-connectivity/neard/neard.inc
index 6b6b1da..4042a69 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



More information about the Openembedded-commits mailing list