diff options
author | Robert Joslyn <robert.joslyn@redrectangle.org> | 2019-04-14 09:17:21 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-04-14 23:26:42 -0700 |
commit | 531547670c3e30d29a2a84e83dab5b1daf9dbba7 (patch) | |
tree | 4f0ad1e2a7c528bc0716957e2dfc27becae307b6 /meta-oe/recipes-support/gpm | |
parent | 4509bbd58013eaa1d1adc499c5037301f8f2299b (diff) | |
download | meta-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.bb | 2 |
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() { | |||
33 | do_install_append () { | 33 | do_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 |