1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-07-26 07:07:16 +00:00

atp: move m5readfile to meta-gem5

The m5 readfile recipe provides general utility for gem5 users to
run any script on OS boot. We hence move it to the meta-gem5 layer.

Signed-off-by: Adrian Herrera <adrian.herrera@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Adrian Herrera
2022-11-21 10:43:48 -05:00
committed by Jon Mason
parent 5e00e21286
commit fe7c4c6ee0
2 changed files with 0 additions and 0 deletions
@@ -0,0 +1,17 @@
inherit update-rc.d
SUMMARY = "Enables reading any script at simulation launch time"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
SRC_URI = "file://m5-readfile.sh"
INITSCRIPT_NAME = "m5-readfile.sh"
INITSCRIPT_PARAMS = "defaults 99"
do_install() {
install -d ${D}/${INIT_D_DIR}
install -m 755 ${WORKDIR}/m5-readfile.sh ${D}/${INIT_D_DIR}
}
RDEPENDS:${PN} = "gem5-m5ops"
@@ -0,0 +1,9 @@
#!/bin/sh
### BEGIN INIT INFO
# Provides: m5-readfile
# Required-Start: $all
# Default-Start: 5
# Description: Enables reading any script at simulation launch time.
### END INIT INFO
m5 readfile | sh