diff --git a/recipes-core/images/core-image-ros-sdktest.bb b/recipes-core/images/core-image-ros-sdktest.bb index bdabe7d..9a2154c 100644 --- a/recipes-core/images/core-image-ros-sdktest.bb +++ b/recipes-core/images/core-image-ros-sdktest.bb @@ -3,11 +3,14 @@ DESCRIPTION = "Image for testing meta-ros' SDK feature" IMAGE_INSTALL = "packagegroup-core-boot ${CORE_IMAGE_EXTRA_INSTALL}" inherit core-image +inherit ros_distro_${ROS_DISTRO} +inherit ${ROS_DISTRO_TYPE}_image IMAGE_ROOTFS_SIZE = "8192" IMAGE_FEATURES += "ssh-server-openssh" -IMAGE_INSTALL += "roslaunch rostopic roscpp-dev std-msgs-dev" +IMAGE_INSTALL_append_ros1-distro = " roslaunch rostopic roscpp-dev std-msgs-dev" +IMAGE_INSTALL_append_ros2-distro = " ros-core rclcpp-dev std-msgs-dev" TOOLCHAIN_HOST_TASK += "nativesdk-cmake nativesdk-catkin"