diff options
Diffstat (limited to 'meta/recipes-graphics/wayland/weston-init.bb')
-rw-r--r-- | meta/recipes-graphics/wayland/weston-init.bb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb new file mode 100644 index 0000000000..a3fe811f4d --- /dev/null +++ b/meta/recipes-graphics/wayland/weston-init.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | DESCRIPTION = "startup for weston" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" | ||
4 | |||
5 | SRC_URI = "file://init" | ||
6 | |||
7 | S = "${WORKDIR}" | ||
8 | |||
9 | do_install() { | ||
10 | install -d ${D}/${sysconfdir}/init.d | ||
11 | install -m755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/weston | ||
12 | } | ||
13 | |||
14 | inherit allarch update-rc.d | ||
15 | |||
16 | INITSCRIPT_NAME = "weston" | ||
17 | INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ." | ||