mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 13:39:49 +02:00
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) (From OE-Core rev: d86fd6190b9ffd5012f229f319520615176c27ee) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5f0d25152b
commit
d0315a6cdf
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user