Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 6d51171d authored by Robert Nelson's avatar Robert Nelson
Browse files

bb.org: ros: setup rosdep


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 1d21a144
No related merge requests found
...@@ -319,6 +319,14 @@ install_git_repos () { ...@@ -319,6 +319,14 @@ install_git_repos () {
# fi # fi
} }
ros_initialize_rosdep () {
echo "ros: Initialize rosdep"
rosdep init
su - ${rfs_username} -c "rosdep update"
echo "source /opt/ros/melodic/setup.bash" >> /home/${rfs_username}/.bashrc
}
other_source_links () { other_source_links () {
rcn_https="https://rcn-ee.com/repos/git/u-boot-patches" rcn_https="https://rcn-ee.com/repos/git/u-boot-patches"
...@@ -348,5 +356,6 @@ if [ -f /usr/bin/git ] ; then ...@@ -348,5 +356,6 @@ if [ -f /usr/bin/git ] ; then
git config --global --unset-all user.email git config --global --unset-all user.email
git config --global --unset-all user.name git config --global --unset-all user.name
fi fi
ros_initialize_rosdep
other_source_links other_source_links
# #
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment