diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2020-12-02 10:01:40 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-12-08 15:02:17 +0100 |
commit | 2c3cae3ccf92188ee859bb8cf40ab3c0801de3aa (patch) | |
tree | 46f7b1d9e34bccaa64769a8ec5a9619054c189d6 | |
parent | 2143d5c3299d00abd3b86a3a6b7a9465a7e0c49f (diff) |
wayland-app-launch: make initial path working
Related-to: ELB-3153
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 3964c2cfc63e0c3418a2d693b61c3dc95d55c8d2)
-rw-r--r-- | recipes-graphics/wayland-app-launch/wayland-app-launch.inc | 2 | ||||
-rw-r--r-- | recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.sh.in | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/recipes-graphics/wayland-app-launch/wayland-app-launch.inc b/recipes-graphics/wayland-app-launch/wayland-app-launch.inc index cd72391..18b6b29 100644 --- a/recipes-graphics/wayland-app-launch/wayland-app-launch.inc +++ b/recipes-graphics/wayland-app-launch/wayland-app-launch.inc @@ -18,7 +18,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/wayland-app-launch:" APPLICATION_ENVIRONMENT ??= "" do_compile () { - sed -e "s:@@wayland-application@@:${WAYLAND_APPLICATION}:" wayland-app-launch.sh.in > wayland-app-launch.sh + 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 } diff --git a/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.sh.in b/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.sh.in index ebebfbf..87349aa 100644 --- a/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.sh.in +++ b/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.sh.in @@ -11,4 +11,5 @@ fi while [ ! -e $XDG_RUNTIME_DIR/wayland-0 ] ; do sleep 0.1; done sleep 1 +cd @@initial-path@@ @@wayland-application@@ & |