Various updates, start including rpiConfigServer

* Provide shell script to copy in external dependencies
* Install Python 3 and build-essential
* Install OpenCV libraries including Python 3 bindings
* Install rpiConfigServer as service
* Improve service scripts with exec, netconsoleServer
* Don't include JDK debug info (shrinks zip size a lot)
* Include libraries, headers, and jars for wpiutil, cscore, ntcore
This commit is contained in:
Peter Johnson
2018-11-30 02:40:39 -08:00
parent d687acb744
commit dd04f57093
10 changed files with 105 additions and 17 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
sleep 1
cd /home/pi
exec ./runCamera
exec pgrphack setuidgid pi /usr/local/bin/netconsoleServer -u ./runCamera
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
exec /usr/local/sbin/configServer
@@ -0,0 +1,2 @@
/usr/local/frc/lib
/usr/local/frc/third-party/lib
@@ -0,0 +1,3 @@
/usr/lib/jvm/jdk-11.0.1/lib/jli
/usr/lib/jvm/jdk-11.0.1/lib/minimal
/usr/lib/jvm/jdk-11.0.1/lib
+2 -1
View File
@@ -1,3 +1,4 @@
#!/bin/sh
echo "Waiting 5 seconds..."
sleep 5
./multiCameraServer
exec ./multiCameraServer
+1 -7
View File
@@ -1,10 +1,4 @@
#!/bin/bash
SVCPID=`ps ax | grep runCamera | grep -v grep | cut -c -6 | sed -e 's/ *//g'`
sudo svc -d /service/camera
if [[ ! -z $SVCPID ]]; then
sudo kill $SVCPID
sleep 1
sudo kill -9 $SVCPID
sleep 1
fi
sleep 1
exec ./runCamera