mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-14 21:56:49 +00:00
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:
parent
4509bbd580
commit
531547670c
@ -33,7 +33,7 @@ do_configure_prepend() {
|
|||||||
do_install_append () {
|
do_install_append () {
|
||||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
||||||
install -d ${D}${systemd_system_unitdir}
|
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
|
fi
|
||||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
|
if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
|
||||||
install -D -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/gpm
|
install -D -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/gpm
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user