summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-graphics/wayland/weston-init.bbappend
blob: dafc0330f096f5d685f03c056eb0e9af56e98d6f (plain)
1
2
3
4
5
6
7
8
9
require include/gles-control.inc

do_install_append() {
    if [ "X${USE_GLES}" = "X1" ]; then
        sed -e "/RequiresMountsFor=\/run/a After=dbus.service multi-user.target" \
            -e "s/\$OPTARGS/--idle-time=0 \$OPTARGS/" \
            -i ${D}/${systemd_system_unitdir}/weston.service
    fi
}