added rt-run script, bundled with lat-plot (now plcos-util-scripts)

This commit is contained in:
vaughn committed 2026-10-09 14:35:23 -04:00
1 parent 2b568af092
commit 5cab13fe5c
12 files changed
+450 -349

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
LICENSE = "MIT"
#MY_FILES =
LIC_FILES_CHKSUM = "file://COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
inherit systemd
SYSTEMD_AUTO_ENABLE:${PN} = "enable"
SYSTEMD_SERVICE:${PN} = "rt.service"
SRC_URI:append = "file://rt-setup \
file://rt.service \
file://COPYING.MIT \
"
PV = "0.1"
S = '${UNPACKDIR}'
TARGET_CC_ARCH += " ${LDFLAGS}"
RDEPENDS:${PN} += " bash "
FILES:${PN} += " /usr/bin/rt-setup \
${systemd_unitdir}/system/rt.service \
"
FILES:${PN}-dev = " "
FILES:${PN}-dbg = " "
do_install () {
install -d ${D}/usr/bin
#install -d ${D}${sysconfdir}/init.d
install -d ${D}${systemd_unitdir}/system
install -m 0755 ${UNPACKDIR}/rt.service ${D}${systemd_unitdir}/system/rt.service
install -m 0755 ${UNPACKDIR}/rt-setup ${D}/usr/bin/rt-setup
#update-rc.d -r ${D} rt-setup start 03 S .
}