From 531547670c3e30d29a2a84e83dab5b1daf9dbba7 Mon Sep 17 00:00:00 2001 From: Robert Joslyn Date: Sun, 14 Apr 2019 09:17:21 -0700 Subject: gpm: Fix gpm path in unit file The binary is installed to ${sbindir}, but the unit file used ${bindir}. Signed-off-by: Robert Joslyn Signed-off-by: Khem Raj --- meta-oe/recipes-support/gpm/gpm_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-oe/recipes-support') diff --git a/meta-oe/recipes-support/gpm/gpm_git.bb b/meta-oe/recipes-support/gpm/gpm_git.bb index dcc9d68eaa..fa03070383 100644 --- a/meta-oe/recipes-support/gpm/gpm_git.bb +++ b/meta-oe/recipes-support/gpm/gpm_git.bb @@ -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 -- cgit 1.2.3-korg