image_builder: debug

This commit is contained in:
Artem Smirnov
2018-09-06 19:08:51 +03:00
parent d8c4b452c5
commit 756e50d3ac

View File

@@ -26,9 +26,14 @@ echo_stamp() {
echo -e ${TEXT}
}
echo_stamp "#0 to /dev/null"
echo "dasfasfdsagfasdgagasgas" >/dev/null 2>&1 || true
echo_stamp "#1 Software installing"
apt-get install --no-install-recommends -y -qq \
ros-kinetic-opencv3=3.3.1-0stretch \
unzip=6.0-21 \
zip=3.0-11 \
ipython=5.1.0-3 \
@@ -47,15 +52,19 @@ apt-get install --no-install-recommends -y -qq \
libjpeg8-dev=8d1-2 \
tcpdump \
libpoco-dev=1.7.6+dfsg1-5+deb9u1 \
ros-kinetic-opencv3=3.3.1-0stretch \
> /dev/null \
&& echo_stamp "Everything was installed!" "SUCCESS" \
|| (echo_stamp "Some packages wasn't installed!" "ERROR"; exit 1)
apt search ros-kinetic-opencv3
exit 2
echo "dasfasfdsagfasdgagasgas" >/dev/null 2>&1 || true
echo_stamp "Installation opencv"
apt-get install --no-install-recommends -y -qq \
ros-kinetic-opencv3=3.3.1-0stretch \
> /dev/null \
&& echo_stamp "OpenCV3 was installed!" "SUCCESS" \
|| (echo_stamp "OpenCV3 wasn't installed!" "ERROR"; exit 1)
echo_stamp "#2 Adding mjpg-streamer at /home/pi"
# https://github.com/jacksonliam/mjpg-streamer