From: Gary Bisson Date: Wed, 12 Sep 2018 19:54:36 +0000 (+0200) Subject: weston: install weston.ini to disable idle timeout X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=501b840982a51311feef3efdfa548ca2efcf4a31;p=meta-freescale.git weston: install weston.ini to disable idle timeout In order to get the same behavior as meta-fsl-bsp-release (see weston_4.0.0.bbappend). Signed-off-by: Gary Bisson Signed-off-by: Otavio Salvador --- diff --git a/recipes-graphics/wayland/weston_4.0.0.imx.bb b/recipes-graphics/wayland/weston_4.0.0.imx.bb index 7a2aab60..372a0be3 100644 --- a/recipes-graphics/wayland/weston_4.0.0.imx.bb +++ b/recipes-graphics/wayland/weston_4.0.0.imx.bb @@ -109,12 +109,16 @@ do_install_append() { if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then install -Dm 644 ${WORKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland fi + + # install default weston.ini + install -d ${D}${sysconfdir}/xdg/weston + install -m 0644 ${B}/weston.ini ${D}${sysconfdir}/xdg/weston } PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \ libweston-${WESTON_MAJOR_VERSION} ${PN}-examples" -FILES_${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so ${datadir}" +FILES_${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so ${datadir} ${sysconfdir}/xdg/weston" FILES_libweston-${WESTON_MAJOR_VERSION} = "${libdir}/lib*${SOLIBS} ${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.so" SUMMARY_libweston-${WESTON_MAJOR_VERSION} = "Helper library for implementing 'wayland window managers'."