Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | inherit update-rc.d |
2 | |||||
3 | FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" | ||||
4 | |||||
5 | # Add startup script calling m5 readfile for automatic checkpoint and restore | ||||
6 | SRC_URI += "file://m5-readfile.sh" | ||||
7 | |||||
8 | INITSCRIPT_NAME = "m5-readfile.sh" | ||||
9 | INITSCRIPT_PARAMS = "defaults 99" | ||||
10 | |||||
11 | do_install:append() { | ||||
12 | install -d ${D}/${INIT_D_DIR} | ||||
13 | install -m 755 ${WORKDIR}/m5-readfile.sh ${D}/${INIT_D_DIR} | ||||
14 | } |