diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend index 07a4ea867..27a5b947b 100644 --- a/recipes-graphics/wayland/weston-init.bbappend +++ b/recipes-graphics/wayland/weston-init.bbappend @@ -58,6 +58,9 @@ PACKAGECONFIG[use-g2d] = ",," PACKAGECONFIG[xwayland] = ",," do_install:append() { + # Replace the template variables + sed -i -e 's,@bindir@,${bindir},g' ${D}${sysconfdir}/xdg/weston/weston.ini + if [ -f "${UNPACKDIR}/weston.config" ]; then install -Dm0755 ${UNPACKDIR}/weston.config ${D}${sysconfdir}/default/weston fi @@ -88,6 +91,4 @@ do_install:append() { if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "no" ]; then sed -i -e "s/^xwayland=true/#xwayland=true/g" ${D}${sysconfdir}/xdg/weston/weston.ini fi - - sed -i -e 's,@bindir@,${bindir},g' ${D}${sysconfdir}/xdg/weston/weston.ini }