summaryrefslogtreecommitdiff
path: root/recipes-graphics/wayland-app-launch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/wayland-app-launch')
-rw-r--r--recipes-graphics/wayland-app-launch/wayland-app-launch.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-graphics/wayland-app-launch/wayland-app-launch.inc b/recipes-graphics/wayland-app-launch/wayland-app-launch.inc
index 588ca4b..7cac13b 100644
--- a/recipes-graphics/wayland-app-launch/wayland-app-launch.inc
+++ b/recipes-graphics/wayland-app-launch/wayland-app-launch.inc
@@ -7,7 +7,7 @@ inherit allarch systemd
RDEPENDS:${PN} += "weston-init ${INITIAL_APP_PKGS}"
-S = "${WORKDIR}"
+S = "${@d.getVar("UNPACKDIR") or '${WORKDIR}'}"
SRC_URI = " \
file://wayland-app-launch.service.in \
@@ -24,7 +24,7 @@ do_compile () {
do_install () {
install -d ${D}${systemd_unitdir}/system/
- install -m 0644 ${WORKDIR}/wayland-app-launch.service ${D}${systemd_unitdir}/system
+ install -m 0644 ${S}/wayland-app-launch.service ${D}${systemd_unitdir}/system
}
SYSTEMD_PACKAGES = "${PN}"