Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1) - OpenOCPP extracted (firmware OCPP 1.6J/2.0.1) - ShapeShifter library installed (pip install -e) - ShapeShifter specification extracted - EVerest extracted TODO updated with progress
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Node-RED
|
||||
|
||||
[Service]
|
||||
Environment=NODE_ENV=production
|
||||
ExecStart=/bin/su root -c 'node /usr/lib/node_modules/node-red/red.js'
|
||||
Restart=always
|
||||
RestartSec=30
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
5232
tools/EVerest-main/yocto/kirkstone/meta-everest/recipes-backports/node-red/node-red/npm-shrinkwrap.json
generated
Normal file
5232
tools/EVerest-main/yocto/kirkstone/meta-everest/recipes-backports/node-red/node-red/npm-shrinkwrap.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,42 @@
|
||||
DESCRIPTION = "Node-RED"
|
||||
HOMEPAGE = "http://nodered.org"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=d6f37569f5013072e9490d2194d10ae6"
|
||||
|
||||
inherit npm
|
||||
|
||||
PR = "r0"
|
||||
|
||||
SRC_URI = "\
|
||||
git://github.com/node-red/node-red.git;protocol=https;branch=master \
|
||||
npmsw://${THISDIR}/${BPN}/npm-shrinkwrap.json \
|
||||
file://${BPN}.service \
|
||||
file://Fixup-dependencies-for-newer-npm-versions.patch \
|
||||
"
|
||||
|
||||
SRCREV = "173e75175eb1c40e7b11c8da4bccba8f2eb22937"
|
||||
|
||||
S = "${WORKDIR}/git/packages/node_modules/${BPN}"
|
||||
|
||||
EXTRA_OENPM = "--offline=false --proxy=false"
|
||||
|
||||
do_install:append() {
|
||||
# Service
|
||||
install -d ${D}${systemd_unitdir}/system/
|
||||
install -m 0644 ${WORKDIR}/${BPN}.service ${D}${systemd_unitdir}/system/
|
||||
|
||||
# Remove hardware specific files
|
||||
rm ${D}/${bindir}/${BPN}-pi
|
||||
rm -rf ${D}/${libdir}/node_modules/${BPN}/bin
|
||||
}
|
||||
|
||||
inherit systemd
|
||||
|
||||
SYSTEMD_AUTO_ENABLE = "enable"
|
||||
SYSTEMD_SERVICE:${PN} = "${BPN}.service"
|
||||
|
||||
FILES:${PN} += "\
|
||||
${systemd_unitdir} \
|
||||
"
|
||||
|
||||
INSANE_SKIP:${PN} += "staticdev"
|
||||
Reference in New Issue
Block a user