diff options
Diffstat (limited to 'yocto-poky/meta/recipes-graphics/wayland/weston-init.bb')
-rw-r--r-- | yocto-poky/meta/recipes-graphics/wayland/weston-init.bb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-graphics/wayland/weston-init.bb b/yocto-poky/meta/recipes-graphics/wayland/weston-init.bb new file mode 100644 index 0000000000..38b78bcd02 --- /dev/null +++ b/yocto-poky/meta/recipes-graphics/wayland/weston-init.bb @@ -0,0 +1,19 @@ +SUMMARY = "Startup script for the Weston Wayland compositor" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" + +SRC_URI = "file://init" + +S = "${WORKDIR}" + +do_install() { + install -d ${D}/${sysconfdir}/init.d + install -m755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/weston +} + +inherit allarch update-rc.d + +RDEPENDS_${PN} = "weston kbd" + +INITSCRIPT_NAME = "weston" +INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ." |