Skip to content

Commit

Permalink
use a login shell
Browse files Browse the repository at this point in the history
  • Loading branch information
bjsowa committed Jan 3, 2019
1 parent 6b47c15 commit b5025d8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pi-gen-overlay/stage3/20-install-ros/03-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ tar -xf "$ROOTFS_DIR"/tmp/install/ros.tar -C "$ROOTFS_DIR"/opt/ros/kinetic

on_chroot <<-EOF
rosdep init
su pi -c "rosdep update"
su - pi
su pi -c "rosdep install --from-paths /opt/ros/kinetic/share --ignore-src --rosdistro kinetic -y --os=debian:stretch"
rosdep update
rosdep install --from-paths /opt/ros/kinetic/share --ignore-src --rosdistro kinetic -y --os=debian:stretch
EOF

0 comments on commit b5025d8

Please sign in to comment.