image_builder: debug opencv installation

This commit is contained in:
Artem Smirnov
2018-09-06 19:13:27 +03:00
parent 756e50d3ac
commit 5accc55e93

View File

@@ -26,14 +26,17 @@ echo_stamp() {
echo -e ${TEXT}
}
echo_stamp "#0 to /dev/null"
echo_stamp "Installation OpenCV"
echo "dasfasfdsagfasdgagasgas" >/dev/null 2>&1 || true
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 "#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 \
@@ -58,14 +61,6 @@ apt-get install --no-install-recommends -y -qq \
exit 2
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