-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e879286
commit 8836837
Showing
8 changed files
with
22 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
DEST="prebuilt/armv6l" | ||
REMOTE="root@pi-black" | ||
REMOTE_PATH="/root/redmatic-prebuild" | ||
|
||
cat addon_files/redmatic/lib/package.json | jq 'del(.dependencies.npm,.dependencies."node-red")' > $DEST/package.json | ||
|
||
scp $DEST/package.json $REMOTE:$REMOTE_PATH | ||
|
||
#ssh -t $REMOTE "cd $REMOTE_PATH ; npm install --global-style" | ||
|
||
rm -r ${DEST}/lib/node_modules | ||
|
||
files=`ssh -t $REMOTE "cd $REMOTE_PATH ; find ./ -type f -name \*.node |grep -v obj.target"` | ||
|
||
while read -r binary; do | ||
from=`echo ${REMOTE}:${REMOTE_PATH}/${binary} | tr -d '\r'` | ||
dest=`echo ${DEST}/lib/${binary%/*} | tr -d '\r'` | ||
mkdir -p ${dest} | ||
scp -q ${from} ${dest} && echo "${binary}" | ||
done <<< "$files" |
This file was deleted.
Oops, something went wrong.
Empty file modified
0
prebuilt/armv6l/lib/node_modules/ain2/node_modules/unix-dgram/build/Release/unix_dgram.node
100644 → 100755
Empty file.
Binary file modified
BIN
+0 Bytes
(100%)
...les/node-red-contrib-modbus/node_modules/@serialport/bindings/build/Release/bindings.node
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...b-modbus/node_modules/modbus-serial/node_modules/serialport/build/Release/serialport.node
Binary file not shown.
Binary file added
BIN
+59.7 KB
...ode_modules/node-red-contrib-zigbee/node_modules/serialport/build/Release/serialport.node
Binary file not shown.
Binary file removed
BIN
-1.31 MB
...ode-red-node-sqlite/node_modules/sqlite3/lib/binding/node-v57-linux-arm/node_sqlite3.node
Binary file not shown.
Binary file modified
BIN
+52.4 KB
(100%)
...ode-red-node-sqlite/node_modules/sqlite3/lib/binding/node-v64-linux-arm/node_sqlite3.node
Binary file not shown.