diff options
Diffstat (limited to 'recipes-graphics')
-rw-r--r-- | recipes-graphics/wayland/weston-init.bbappend | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend index a7b7710..852c319 100644 --- a/recipes-graphics/wayland/weston-init.bbappend +++ b/recipes-graphics/wayland/weston-init.bbappend @@ -2,15 +2,17 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" SRC_URI += "file://weston.sh" +OURFILEPATH = "${@d.getVar("UNPACKDIR") or '${WORKDIR}'}" + PACKAGECONFIG:append:upstream:tdx = " no-idle-timeout" -PACKAGECONFIG:append:am62x = " no-idle-timeout" +PACKAGECONFIG:append:k3 = " no-idle-timeout" PACKAGECONFIG:append:upstream:colibri-imx6ull = " use-pixman" PACKAGECONFIG:append:upstream:colibri-imx6ull-emmc = " use-pixman" PACKAGECONFIG:append:upstream:colibri-imx7 = " use-pixman" PACKAGECONFIG:append:upstream:colibri-imx7-emmc = " use-pixman" do_install:append:tdx() { - install -Dm0755 ${WORKDIR}/weston.sh ${D}${sysconfdir}/profile.d/weston.sh + install -Dm0755 ${OURFILEPATH}/weston.sh ${D}${sysconfdir}/profile.d/weston.sh if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then # We need run weston systemd service with root user, or else it could not |