Skip to content

Commit

Permalink
ALL specified rosdep entries override 10-debian.list
Browse files Browse the repository at this point in the history
Without this patch 2-remote.list will be overwritten by
the default 10-debian.list. However, if an upstream repository
overlays the default packages, these were not picked up.
  • Loading branch information
v4hn committed Feb 5, 2023
1 parent 0c39c8e commit a60f380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ echo "::group::Add unreleased packages to rosdep"
for PKG in $(catkin_topological_order --only-names); do
printf "%s:\n %s:\n - %s\n" "$PKG" "$DISTRIBUTION" "ros-one-$(printf '%s' "$PKG" | tr '_' '-')" >> $HOME/apt_repo/local.yaml
done
echo "yaml file://$HOME/apt_repo/local.yaml $ROS_DISTRO" | sudo tee /etc/ros/rosdep/sources.list.d/1-local.list
echo "yaml file://$HOME/apt_repo/local.yaml $ROS_DISTRO" | sudo tee /etc/ros/rosdep/sources.list.d/01-local.list

for source in $ROSDEP_SOURCE; do
[ ! -f "$GITHUB_WORKSPACE/$source" ] || source="file://$GITHUB_WORKSPACE/$source"
printf "yaml %s $ROS_DISTRO\n" "$source"
done | sudo tee /etc/ros/rosdep/sources.list.d/2-remote.list
done | sudo tee /etc/ros/rosdep/sources.list.d/02-remote.list

rosdep update

Expand Down

0 comments on commit a60f380

Please sign in to comment.