From 49338e6f58f6d1c63afe758143d7bf07112ebf9c Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Fri, 4 Nov 2022 22:08:07 +0600 Subject: [PATCH] Run catkin_make from pi --- builder/image-ros.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/image-ros.sh b/builder/image-ros.sh index afa369b5..d6eb06f7 100755 --- a/builder/image-ros.sh +++ b/builder/image-ros.sh @@ -112,7 +112,7 @@ my_travis_retry pip3 install wheel my_travis_retry pip3 install -r /home/pi/catkin_ws/src/clover/clover/requirements.txt source /opt/ros/${ROS_DISTRO}/setup.bash # Don't build simulation plugins for actual drone -catkin_make -j2 -DCMAKE_BUILD_TYPE=RelWithDebInfo +sudo -u pi catkin_make -j2 -DCMAKE_BUILD_TYPE=RelWithDebInfo source devel/setup.bash echo_stamp "Install clever package (for backwards compatibility)"