image_builder: install lxml w apt

pymavlink required lxml
can't install w pip https://stackoverflow.com/questions/33064433/lxml-will-never-finish-building-on-ubuntu
This commit is contained in:
Artem Smirnov
2018-09-28 18:56:43 +03:00
parent afdbe7ba7a
commit 8df037d1ad
5 changed files with 6 additions and 8 deletions

View File

@@ -79,6 +79,9 @@ image_transport:
libmavconn:
debian:
stretch: [ros-kinetic-libmavconn]
lxml:
debian:
stretch: [python-lxml=3.7.1-1]
mavlink:
debian:
stretch: [ros-kinetic-mavlink]

View File

@@ -134,11 +134,10 @@ echo_stamp "Installing CLEVER" \
&& git clone ${REPO} /home/pi/catkin_ws/src/clever \
&& cd /home/pi/catkin_ws/src/clever \
&& git checkout ${REF} \
&& pip install wheel \
&& pip install -r /home/pi/catkin_ws/src/clever/clever/requirements.txt \
&& cd /home/pi/catkin_ws \
&& resolve_rosdep $(pwd) \
&& ls -l /opt/ros/kinetic \
&& pip install wheel \
&& pip install -r /home/pi/catkin_ws/src/clever/clever/requirements.txt \
&& source /opt/ros/kinetic/setup.bash \
&& catkin_make -j${NUMBER_THREADS} -DCMAKE_BUILD_TYPE=Release \
&& ln -s /root/roscore.service /lib/systemd/system/roscore.service \

View File

@@ -78,9 +78,6 @@ python-wstool=0.1.17-1 \
python-rosinstall=0.7.8-1 \
build-essential=12.3 \
mjpg-streamer=2.0 \
python-dev \
libxml2-dev=2.9.4+dfsg1-2.2+deb9u2 \
libxslt1-dev=1.1.29-2.1 \
> /dev/null \
&& echo_stamp "Everything was installed!" "SUCCESS" \
|| (echo_stamp "Some packages wasn't installed!" "ERROR"; exit 1)

View File

@@ -23,6 +23,7 @@
<run_depend>ros_cpp</run_depend>
<run_depend>nodelet</run_depend>
<run_depend>mavros</run_depend>
<run_depend>lxml</run_depend>
<run_depend>rosbridge_server</run_depend>
<!-- Use test_depend for packages you need only for testing: -->
<!-- <test_depend>gtest</test_depend> -->

View File

@@ -1,5 +1,3 @@
future
lxml==4.2.5
flask==0.12.2
geopy==1.11.0
pymavlink==2.2.10