summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/gpm
diff options
context:
space:
mode:
authorRobert Joslyn <robert.joslyn@redrectangle.org>2019-04-14 09:17:21 -0700
committerKhem Raj <raj.khem@gmail.com>2019-04-14 23:26:42 -0700
commit531547670c3e30d29a2a84e83dab5b1daf9dbba7 (patch)
tree4f0ad1e2a7c528bc0716957e2dfc27becae307b6 /meta-oe/recipes-support/gpm
parent4509bbd58013eaa1d1adc499c5037301f8f2299b (diff)
downloadmeta-openembedded-531547670c3e30d29a2a84e83dab5b1daf9dbba7.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-support/gpm')
-rw-r--r--meta-oe/recipes-support/gpm/gpm_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/gpm/gpm_git.bb b/meta-oe/recipes-support/gpm/gpm_git.bb
index dcc9d68ea..fa0307038 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() {
33do_install_append () { 33do_install_append () {
34 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then 34 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
35 install -d ${D}${systemd_system_unitdir} 35 install -d ${D}${systemd_system_unitdir}
36 sed 's:@bindir@:${bindir}:' < ${WORKDIR}/gpm.service.in >${D}${systemd_system_unitdir}/gpm.service 36 sed 's:@bindir@:${sbindir}:' < ${WORKDIR}/gpm.service.in >${D}${systemd_system_unitdir}/gpm.service
37 fi 37 fi
38 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then 38 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
39 install -D -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/gpm 39 install -D -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/gpm