From: Cristian Iorga Date: Wed, 18 Mar 2015 15:38:39 +0000 (+0200) Subject: neard: fix the install path in init scripts X-Git-Tag: yocto-4.0~26452 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd277f3a46e7fc764cc55c5354d2136fcfddc3c1;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-connectivity/neard/neard.inc b/meta/recipes-connectivity/neard/neard.inc index 6b6b1da8c1a..4042a69b98e 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