2013-12-19 15:13:01 +00:00
|
|
|
SUMMARY = "Runs postinstall scripts on first boot of the target device"
|
2007-11-05 16:08:56 +00:00
|
|
|
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
|
|
|
|
2013-05-23 08:03:56 +00:00
|
|
|
SRC_URI = "file://run-postinsts"
|
2007-11-05 16:08:56 +00:00
|
|
|
|
|
|
|
INITSCRIPT_NAME = "run-postinsts"
|
2013-09-05 15:04:03 +00:00
|
|
|
INITSCRIPT_PARAMS = "start 99 S ."
|
2007-11-05 16:08:56 +00:00
|
|
|
|
|
|
|
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-05-23 08:03:56 +00:00
|
|
|
sed -i -e 's:#SYSCONFDIR#:${sysconfdir}:g' ${D}${sysconfdir}/init.d/run-postinsts
|
2007-11-05 16:08:56 +00:00
|
|
|
}
|