summaryrefslogtreecommitdiff
path: root/recipes-graphics/wayland-app-launch/wayland-app-launch.inc
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2022-09-29 15:26:03 +0200
committerPhilippe Schenker <philippe.schenker@toradex.com>2022-09-29 16:47:38 +0200
commit6cbe18653ab705592671001daab88a7c58c81a69 (patch)
tree23ee3dead093a43b7fbefafe554aa2f92ab3200d /recipes-graphics/wayland-app-launch/wayland-app-launch.inc
parenteb83c76bd9a65a75c3bbee064891a9146fe89a2e (diff)
wayland-app-launch: remove shell-script
weston uses now systemd-notify to notify systemd when it is up and running. This is the reason why we do no longer need wayland-app-launch.sh with the synchronization point in it. Remove wayland-app-launch.sh script. Remove also the init directory feature as it is no longer needed. qtsmarthome works now from any directory. Related-to: ELB-4784 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'recipes-graphics/wayland-app-launch/wayland-app-launch.inc')
-rw-r--r--recipes-graphics/wayland-app-launch/wayland-app-launch.inc9
1 files changed, 4 insertions, 5 deletions
diff --git a/recipes-graphics/wayland-app-launch/wayland-app-launch.inc b/recipes-graphics/wayland-app-launch/wayland-app-launch.inc
index 946b4cc..588ca4b 100644
--- a/recipes-graphics/wayland-app-launch/wayland-app-launch.inc
+++ b/recipes-graphics/wayland-app-launch/wayland-app-launch.inc
@@ -11,21 +11,20 @@ S = "${WORKDIR}"
SRC_URI = " \
file://wayland-app-launch.service.in \
- file://wayland-app-launch.sh.in \
"
FILESEXTRAPATHS:prepend := "${THISDIR}/wayland-app-launch:"
APPLICATION_ENVIRONMENT ??= ""
do_compile () {
- sed -e "s:@@wayland-application@@:${WAYLAND_APPLICATION}:" -e "s:@@initial-path@@:${INITIAL_PATH}:" wayland-app-launch.sh.in > wayland-app-launch.sh
- sed -e "s:@@application-environment@@:${APPLICATION_ENVIRONMENT}:" wayland-app-launch.service.in > wayland-app-launch.service
+ sed -e "s:@@wayland-application@@:${WAYLAND_APPLICATION}:" \
+ -e "s:@@application-environment@@:${APPLICATION_ENVIRONMENT}:" \
+ wayland-app-launch.service.in > wayland-app-launch.service
}
do_install () {
- install -d ${D}/${bindir} ${D}${systemd_unitdir}/system/
+ install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/wayland-app-launch.service ${D}${systemd_unitdir}/system
- install -m 0755 ${S}/wayland-app-launch.sh ${D}/${bindir}
}
SYSTEMD_PACKAGES = "${PN}"