]> code.ossystems Code Review - meta-freescale.git/commitdiff
weston-init: Set bindir properly in weston.ini 977/head
authorTom Hochstein <tom.hochstein@nxp.com>
Fri, 11 Feb 2022 19:43:47 +0000 (13:43 -0600)
committerTom Hochstein <tom.hochstein@nxp.com>
Fri, 11 Feb 2022 19:43:47 +0000 (13:43 -0600)
The customized weston.ini is installed in the rootfs with an unresolved
bindir variable.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-graphics/wayland/weston-init.bbappend

index 5710e9b5ecad55b0a7093b335aa45fb12ec46154..6a5ede3799a41c9bb2e75df02a1184e813940d25 100644 (file)
@@ -48,4 +48,5 @@ do_install:append() {
     for assignment in ${INI_UNCOMMENT_ASSIGNMENTS}; do
         uncomment "$assignment" ${D}${sysconfdir}/xdg/weston/weston.ini
     done
+    sed -i -e 's,@bindir@,${bindir},g' ${D}${sysconfdir}/xdg/weston/weston.ini
 }