diff options
Diffstat (limited to 'recipes/sgalib/sga-init.bb')
-rw-r--r-- | recipes/sgalib/sga-init.bb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/sgalib/sga-init.bb b/recipes/sgalib/sga-init.bb new file mode 100644 index 0000000000..d0bd1f8cbc --- /dev/null +++ b/recipes/sgalib/sga-init.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "Simple Nomadik SGA Init Script" +LICENSE = "ST" +SECTION = "x11" +PRIORITY = "optional" +PR = "r1" + +SRC_URI = "file://sga-init" +S = ${WORKDIR} + +PACKAGE_ARCH = "all" + +FILES_${PN}= "${sysconfdir}" + +do_install() { + install -d ${D}/${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/sga-init ${D}/${sysconfdir}/init.d +} + +inherit update-rc.d + +INITSCRIPT_NAME = "sga-init" +INITSCRIPT_PARAMS = "start 30 5 2 ." |