4d609d5021
(From OE-Core rev: 607a7657715f6fcba467a4e55ba64f41f4e13a15) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
30 lines
706 B
BlitzBasic
30 lines
706 B
BlitzBasic
DESCRIPTION = "Run postinstall scripts on device using awk"
|
|
SECTION = "devel"
|
|
PR = "r6"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
|
|
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
|
|
SRC_URI = "file://run-postinsts file://run-postinsts.awk"
|
|
|
|
INITSCRIPT_NAME = "run-postinsts"
|
|
INITSCRIPT_PARAMS = "start 98 S ."
|
|
|
|
inherit update-rc.d
|
|
|
|
do_configure() {
|
|
:
|
|
}
|
|
|
|
do_compile () {
|
|
:
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${sysconfdir}/init.d/
|
|
install -m 0755 ${WORKDIR}/run-postinsts ${D}${sysconfdir}/init.d/
|
|
|
|
install -d ${D}${datadir}/${PN}/
|
|
install -m 0644 ${WORKDIR}/run-postinsts.awk ${D}${datadir}/${PN}/
|
|
}
|