gpm: Fix gpm path in unit file

The binary is installed to ${sbindir}, but the unit file used ${bindir}.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Robert Joslyn
2019-04-14 09:17:21 -07:00
committed by Khem Raj
parent 4509bbd580
commit 531547670c
+1 -1
View File
@@ -33,7 +33,7 @@ do_configure_prepend() {
do_install_append () {
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
install -d ${D}${systemd_system_unitdir}
sed 's:@bindir@:${bindir}:' < ${WORKDIR}/gpm.service.in >${D}${systemd_system_unitdir}/gpm.service
sed 's:@bindir@:${sbindir}:' < ${WORKDIR}/gpm.service.in >${D}${systemd_system_unitdir}/gpm.service
fi
if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
install -D -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/gpm