X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=recipes-bsp%2Fapplication%2Fcustom-appstart_1.0.bb;fp=recipes-bsp%2Fapplication%2Fcustom-appstart_1.0.bb;h=8564830a2f2ca12ed71281d0bddb35b97e917988;hb=1c59dfb62c157ab9b405055021c4c01c4e62dd7e;hp=0000000000000000000000000000000000000000;hpb=8d2e286b0718e3eff1d2f98777e75263991e4fd0;p=meta-kc-bsp.git diff --git a/recipes-bsp/application/custom-appstart_1.0.bb b/recipes-bsp/application/custom-appstart_1.0.bb new file mode 100644 index 0000000..8564830 --- /dev/null +++ b/recipes-bsp/application/custom-appstart_1.0.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "Application launch example" +SECTION = "application" +PRIORITY = "optional" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +SRC_URI = "file://StartApplication.sh \ + file://logo.pnm \ + " + +INITSCRIPT_NAME = "StartApplication.sh" +INITSCRIPT_PARAMS = "defaults 80" + +inherit update-rc.d + +do_compile () { +} + +do_install () { + install -d ${D}/etc/init.d + install -m755 ${WORKDIR}/StartApplication.sh ${D}/etc/init.d + install -d ${D}/opt/bitmaps + install -m644 ${WORKDIR}/logo.pnm ${D}/opt/bitmaps/ +} + +FILES_${PN} += "/etc /opt/bitmaps"