image_builder: move install mjpg-streamer to soft-install

This commit is contained in:
Artem Smirnov
2018-06-19 13:42:52 +03:00
parent 7e84853c37
commit 85afded6b4
2 changed files with 18 additions and 21 deletions

View File

@@ -17,12 +17,23 @@ apt-get install --no-install-recommends -y \
byobu \
nmap \
lsof \
python-pip \
git \
dnsmasq \
tmux \
vim \
ipython3 \
python3-pip
cmake \
python-pip \
python3-pip \
libjpeg8-dev
echo -e "\033[0;31m\033[1m$(date) | #2 Adding mjpg-streamer at /home/pi\033[0m\033[0m"
# https://github.com/jacksonliam/mjpg-streamer
git clone https://github.com/jacksonliam/mjpg-streamer.git /home/pi/mjpg-streamer \
&& cd /home/pi/mjpg-streamer/mjpg-streamer-experimental \
&& make \
&& make install \
&& chown -Rf pi:pi /home/pi/mjpg-streamer
echo -e "\033[0;31m\033[1m$(date) | End of software installation\033[0m\033[0m"