Skip to content

Commit

Permalink
[debian] Make sure the packages can be found in ROS2
Browse files Browse the repository at this point in the history
  • Loading branch information
gergondet committed Feb 16, 2024
1 parent 95f8159 commit e97a518
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions debian/ros-ROS_DISTRO-mc-rtc-data.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#ROS2 opt/ros/@ROS_DISTRO@/share/ament_index/resource_index/packages/jvrc_description
#ROS2 opt/ros/@ROS_DISTRO@/share/ament_index/resource_index/packages/mc_env_description
#ROS2 opt/ros/@ROS_DISTRO@/share/ament_index/resource_index/packages/mc_int_obj_description
4 changes: 4 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ override_dh_auto_configure:
dh_auto_configure -- -DDISABLE_ROS=ON

override_dh_auto_install:
#ROS2 mkdir -p $(TMP)/opt/ros/@ROS_DISTRO@/share/ament_index/resource_index/packages/
#ROS2 touch $(TMP)/opt/ros/@ROS_DISTRO@/share/ament_index/resource_index/packages/jvrc_description
#ROS2 touch $(TMP)/opt/ros/@ROS_DISTRO@/share/ament_index/resource_index/packages/mc_env_description
#ROS2 touch $(TMP)/opt/ros/@ROS_DISTRO@/share/ament_index/resource_index/packages/mc_int_obj_description
dh_auto_install --destdir=$(TMP)

0 comments on commit e97a518

Please sign in to comment.