os building environ

This commit is contained in:
Devaev Maxim
2018-06-27 20:39:42 +03:00
parent 4c145f363f
commit 4804aa53b5
6 changed files with 148 additions and 0 deletions

19
os/kvm/run.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/sh
set -e
set -x
. ../functions.sh
cat config.txt > "$FS/boot/config.txt"
pkg_install \
python \
python-pyaml \
python-aiohttp \
python-raspberry-gpio \
mjpg-streamer-pikvm \
nginx
cp index.html "$FS/srv/http/"
cp nginx.conf "$FS/etc/nginx/"
rpi systemctl enable nginx