2007-11-05 16:08:56 +00:00
|
|
|
DESCRIPTION = "Run postinstall scripts on device using awk"
|
|
|
|
SECTION = "devel"
|
2013-02-04 09:20:21 +00:00
|
|
|
PR = "r9"
|
2010-09-30 15:55:32 +00:00
|
|
|
LICENSE = "MIT"
|
2011-04-20 15:56:03 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
|
|
|
|
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
2007-11-05 16:08:56 +00:00
|
|
|
|
|
|
|
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/
|
|
|
|
|
2013-02-04 09:20:21 +00:00
|
|
|
install -d ${D}${datadir}/${BPN}/
|
|
|
|
install -m 0644 ${WORKDIR}/run-postinsts.awk ${D}${datadir}/${BPN}/
|
2007-11-05 16:08:56 +00:00
|
|
|
}
|