mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
[YOCTO #1086] The pach was backported from OE: http://git.openembedded.net/cgit.cgi/openembedded/commit/?id=41e0fbf792037f249d1b8d283b3de81718887c9f (From OE-Core rev: d1e6f49a6473df3c626100ba01b27485f735c33b) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> 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 = "r7"
|
|
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}/
|
|
}
|