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
ofono: remove bbappend
[AGL/meta-agl-demo.git]
/
recipes-demo
/
cluster-receiver
/
cluster-receiver_git.bb
diff --git
a/recipes-demo/cluster-receiver/cluster-receiver_git.bb
b/recipes-demo/cluster-receiver/cluster-receiver_git.bb
index
59d19da
..
f28abcb
100644
(file)
--- a/
recipes-demo/cluster-receiver/cluster-receiver_git.bb
+++ b/
recipes-demo/cluster-receiver/cluster-receiver_git.bb
@@
-17,20
+17,18
@@
PV = "1.0+git${SRCPV}"
SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/agl-cluster-demo-receiver;protocol=https;branch=${AGL_BRANCH} \
file://cluster-receiver.service \
"
SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/agl-cluster-demo-receiver;protocol=https;branch=${AGL_BRANCH} \
file://cluster-receiver.service \
"
-SRCREV = "
ce90cf8dd26d596d65e222a94e64aa51e1c33298
"
+SRCREV = "
8633f9754fc0b644e45862fc3ed6f95554ce58cf
"
S = "${WORKDIR}/git"
S = "${WORKDIR}/git"
-inherit cmake pkgconfig
+inherit cmake pkgconfig systemd
+
+SYSTEMD_SERVICE:${PN} = "${BPN}.service"
do_install:append() {
do_install:append() {
- install -D -m 0644 ${WORKDIR}/${BPN}.service ${D}${systemd_user_unitdir}/${BPN}.service
- install -d ${D}${systemd_user_unitdir}/agl-session.target.wants
- ln -s ../${BPN}.service ${D}${systemd_user_unitdir}/agl-session.target.wants/${BPN}.service
+ install -D -m 0644 ${WORKDIR}/${BPN}.service ${D}${systemd_system_unitdir}/${BPN}.service
}
}
-FILES:${PN} += " ${systemd_user_unitdir}"
-
RDEPENDS:${PN} += " \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
RDEPENDS:${PN} += " \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \