Merge with master

This commit is contained in:
Arthur Golubtsov
2019-10-22 12:53:19 +03:00
2 changed files with 3 additions and 3 deletions

View File

@@ -123,6 +123,7 @@ img-chroot ${IMAGE_PATH} copy ${SCRIPTS_DIR}'/assets/clever-show.service' '/lib/
# Copy config files for clever
if [[ -d "${CONFIG_DIR}/launch" ]]; then img-chroot ${IMAGE_PATH} copy ${CONFIG_DIR}'/launch' '/home/pi/catkin_ws/src/clever/clever'; fi
if [[ -d "${CONFIG_DIR}/map" ]]; then img-chroot ${IMAGE_PATH} copy ${CONFIG_DIR}'/map' '/home/pi/catkin_ws/src/clever/aruco_pose'; fi
if [[ -d "${CONFIG_DIR}/camera_info" ]]; then img-chroot ${IMAGE_PATH} copy ${CONFIG_DIR}'/camera_info' '/home/pi/catkin_ws/src/clever/clever'; fi
# Shrink image
img-resize ${IMAGE_PATH}

View File

@@ -49,9 +49,6 @@ my_travis_retry() {
return $result
}
echo_stamp "Change repo owner to pi"
chown -Rf pi:pi /home/pi/clever-show/
echo_stamp "Update apt cache"
apt-get update -qq
@@ -76,6 +73,8 @@ catkin_make --pkg clever_flight_routines
catkin_make aruco_pose
source devel/setup.bash
echo_stamp "Change clever-show and catkin_ws owner to pi"
chown -Rf pi:pi /home/pi/clever-show/
chown -Rf pi:pi /home/pi/catkin_ws/
echo_stamp "End of software installation"