diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2020-12-02 10:01:40 +0100 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2020-12-02 14:08:54 +0100 |
commit | 3964c2cfc63e0c3418a2d693b61c3dc95d55c8d2 (patch) | |
tree | 74fea24eecb2ed0ecd7e542661c5d920a7828c9b | |
parent | c79cc904871adae96d1c0d0743c5a2605cb25e20 (diff) |
wayland-app-launch: make initial path working
Related-to: ELB-3153
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
-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@@ & |