diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2024-08-19 15:04:44 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-19 15:04:44 -0300 |
commit | 14e6dfccd074dc47c2a6776cbfb2070e46d3072b (patch) | |
tree | 00ea9779d0114fdefe4debd02772475e13f9cc7f | |
parent | 1425fda62f7fa2f6bedaf0b2c41b2dae9ec1c3e7 (diff) | |
parent | 7962989ac6318e3e81deae55ac1a92798a1f90b3 (diff) | |
download | meta-freescale-14e6dfccd074dc47c2a6776cbfb2070e46d3072b.tar.gz |
Merge pull request #1899 from nxp-upstream/weston-init
[scarthgap] weston-init: Fix RDP support
-rw-r--r-- | recipes-graphics/wayland/weston-init.bbappend | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend index 9d04df23..0219140d 100644 --- a/recipes-graphics/wayland/weston-init.bbappend +++ b/recipes-graphics/wayland/weston-init.bbappend | |||
@@ -58,6 +58,9 @@ PACKAGECONFIG[use-g2d] = ",," | |||
58 | PACKAGECONFIG[xwayland] = ",," | 58 | PACKAGECONFIG[xwayland] = ",," |
59 | 59 | ||
60 | do_install:append() { | 60 | do_install:append() { |
61 | # Replace the template variables | ||
62 | sed -i -e 's,@bindir@,${bindir},g' ${D}${sysconfdir}/xdg/weston/weston.ini | ||
63 | |||
61 | if [ -f "${WORKDIR}/weston.config" ]; then | 64 | if [ -f "${WORKDIR}/weston.config" ]; then |
62 | install -Dm0755 ${WORKDIR}/weston.config ${D}${sysconfdir}/default/weston | 65 | install -Dm0755 ${WORKDIR}/weston.config ${D}${sysconfdir}/default/weston |
63 | fi | 66 | fi |
@@ -88,6 +91,4 @@ do_install:append() { | |||
88 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "no" ]; then | 91 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "no" ]; then |
89 | sed -i -e "s/^xwayland=true/#xwayland=true/g" ${D}${sysconfdir}/xdg/weston/weston.ini | 92 | sed -i -e "s/^xwayland=true/#xwayland=true/g" ${D}${sysconfdir}/xdg/weston/weston.ini |
90 | fi | 93 | fi |
91 | |||
92 | sed -i -e 's,@bindir@,${bindir},g' ${D}${sysconfdir}/xdg/weston/weston.ini | ||
93 | } | 94 | } |