Code Review
/
AGL
/
meta-agl-demo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add missing dependency of qtlocation to navigation-demo
[AGL/meta-agl-demo.git]
/
recipes-demo-hmi
/
navigation
/
mapviewer_%.bbappend
diff --git
a/recipes-demo-hmi/navigation/mapviewer_%.bbappend
b/recipes-demo-hmi/navigation/mapviewer_%.bbappend
index
a4eebfb
..
4e89af0
100644
(file)
--- a/
recipes-demo-hmi/navigation/mapviewer_%.bbappend
+++ b/
recipes-demo-hmi/navigation/mapviewer_%.bbappend
@@
-15,7
+15,8
@@
do_install_append() {
# Install systemd unit files
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
# Install systemd unit files
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
- install -m 644 -p -D ${WORKDIR}/mapviewer.service ${D}${systemd_system_unitdir}/mapviewer.service
+ install -d ${D}${systemd_user_unitdir}
+ install -m 644 -p -D ${WORKDIR}/mapviewer.service ${D}${systemd_user_unitdir}/mapviewer.service
fi
}
fi
}
@@
-26,6
+27,6
@@
do_install_append() {
#SYSTEMD_SERVICE_${PN} = "mapviewer.service"
FILES_${PN} += " \
#SYSTEMD_SERVICE_${PN} = "mapviewer.service"
FILES_${PN} += " \
- ${systemd_
system
_unitdir}/mapviewer.service \
+ ${systemd_
user
_unitdir}/mapviewer.service \
/usr/AGL/mapviewer/ \
"
/usr/AGL/mapviewer/ \
"