From 386c88a8f407604e2dc2575076470686cebb055e Mon Sep 17 00:00:00 2001 From: Artem Smirnov Date: Thu, 6 Sep 2018 19:24:53 +0300 Subject: [PATCH] image_builder: debug installation opencv --- image_builder/scripts/software_install.sh | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/image_builder/scripts/software_install.sh b/image_builder/scripts/software_install.sh index 03229fbe..95157483 100755 --- a/image_builder/scripts/software_install.sh +++ b/image_builder/scripts/software_install.sh @@ -26,17 +26,10 @@ echo_stamp() { echo -e ${TEXT} } -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 "#1 Software installing" -apt-get install --no-install-recommends -y -qq \ +apt-get install --no-install-recommends -y -v \ + ros-kinetic-opencv3=3.3.1-0stretch \ unzip=6.0-21 \ zip=3.0-11 \ ipython=5.1.0-3 \ @@ -61,6 +54,14 @@ 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