Skip to content
Snippets Groups Projects
Commit dfbcd1d5 authored by David Mondou's avatar David Mondou
Browse files

ES-299 add copy of dev-kit.json

Renamed node-red-contrib-noble-connect to rigado-devkit
Update commit ids for iot-gateway-setup and rigado-devkit
parent e4b8ab12
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,8 @@
NAME=node-red
DAEMON=node-red-pi
SETTINGS=/usr/share/node-red/settings.js
DAEMON_ARGS="--max-old-space-size=128 -s ${SETTINGS}"
FLOW=/usr/share/node-red/dev-kit.json
DAEMON_ARGS="--max-old-space-size=128 -s ${SETTINGS} ${FLOW}"
LOG_DIR="/var/log/node-red"
LOG="${LOG_DIR}/node-red.log"
PID=/run/node-red.pid
......
......@@ -7,7 +7,7 @@ RDEPENDS_${PN} += " dnsmasq hostapd python iot-gateway-setup-button"
S = "${WORKDIR}/git"
SRCREV="b86b4940e43796bb8024f90711426812330f4c7f"
SRCREV="6f9e0638eed6c5822ac0af7ae551db47da1fd6c8"
SRC_URI = "git://git.rigado.com/vesta/iot-gateway-setup.git;protocol=https \
file://iot-gateway-setup-server \
......
......@@ -9,9 +9,12 @@ SECTION = "nodered-package"
S = "${WORKDIR}/git"
NODERED_USER = "nobody"
NODERED_GROUP = "root"
SRCBRANCH ?= "master"
SRCREV="6f68ccafbea615927d25974c165d2569ec1c7ebe"
SRC_URI = "git://git.rigado.com/vesta/node-red-contrib-noble-connect.git;protocol=https;branch=${SRCBRANCH}"
SRCREV="9392b706b35dd4e9a0f44191aa9e76bf3c6020ae"
SRC_URI = "git://git.rigado.com/vesta/rigado-devkit.git;protocol=https;branch=${SRCBRANCH}"
inherit npm-install-global
......@@ -19,7 +22,13 @@ do_configure() {
:
}
do_install_append() {
install -d -m 0755 ${D}${datadir}/node-red
install -m 644 ${S}/examples/dev-kit.json ${D}${datadir}/node-red
chown -R ${NODERED_USER}:${NODERED_GROUP} ${D}${datadir}/node-red/dev-kit.json
}
FILES_${PN}-staticdev += " \
${libdir_native}/node_modules/node-red-contrib-noble-connect/node_modules/usb/build/Release/*/*.a \
${libdir_native}/node_modules/node-red-contrib-noble-connect/node_modules/usb/build/Release/*.a \
${libdir_native}/node_modules/rigado-devkit/node_modules/usb/build/Release/*/*.a \
${libdir_native}/node_modules/rigado-devkit/node_modules/usb/build/Release/*.a \
"
\ No newline at end of file
......@@ -15,7 +15,6 @@ IMAGE_INSTALL_append += " \
mtd-utils-ubifs \
nodejs \
nodejs-npm \
node-red-contrib-noble-connect \
node-red-dashboard \
openjre-8 \
packagegroup-core-buildessential \
......@@ -31,6 +30,7 @@ IMAGE_INSTALL_append += " \
python-compiler \
python-misc \
python-multiprocessing \
rigado-devkit \
screen \
smartpm \
strace \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment