aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/weston-init.bbappend
blob: b6d6f2e8a7376d555b3f7f2b28b6308f82d57248 (plain)
1
2
3
4
5
6
7
8
9
10
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

do_install:append:rpi() {
    if [ -e ${D}/${sysconfdir}/init.d/weston ]; then
        sed -i 's#weston-start --#weston-start -- --continue-without-input#' ${D}/${sysconfdir}/init.d/weston
    fi
    if [ -e ${D}${systemd_system_unitdir}/weston.service ]; then
        sed -i 's#ExecStart=/usr/bin/weston#ExecStart=/usr/bin/weston --continue-without-input#' ${D}${systemd_system_unitdir}/weston.service
    fi
}