]> code.ossystems Code Review - meta-freescale.git/commitdiff
weston: install weston.ini to disable idle timeout
authorGary Bisson <gary.bisson@boundarydevices.com>
Wed, 12 Sep 2018 19:54:36 +0000 (21:54 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 12 Sep 2018 21:29:48 +0000 (18:29 -0300)
In order to get the same behavior as meta-fsl-bsp-release (see
weston_4.0.0.bbappend).

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/wayland/weston_4.0.0.imx.bb

index 7a2aab60c601a5c16e321b79292907bea4bf5a35..372a0be3761374e5d29c3ca7d5d9c894fd8185bb 100644 (file)
@@ -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'."