M7350/oe-core/meta/recipes-qt/qt-demo/qt-demo-init_0.1.bb

20 lines
529 B
BlitzBasic
Raw Normal View History

2024-09-09 08:57:42 +00:00
SUMMARY = "Init script for qtdemo"
2024-09-09 08:52:07 +00:00
LICENSE = "MIT"
SRC_URI = "file://qtdemo-init"
PR = "r3"
2024-09-09 08:57:42 +00:00
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
2024-09-09 08:52:07 +00:00
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
2024-09-09 08:57:42 +00:00
S = "${WORKDIR}"
2024-09-09 08:52:07 +00:00
do_install() {
install -d ${D}${sysconfdir}/init.d/
install -m 0755 ${WORKDIR}/qtdemo-init ${D}${sysconfdir}/init.d/qtdemo
}
inherit update-rc.d allarch
INITSCRIPT_NAME = "qtdemo"
INITSCRIPT_PARAMS = "start 99 5 2 . stop 19 0 1 6 ."