From 4be7b9c0a982703d7c264137f2709ce6890fc092 Mon Sep 17 00:00:00 2001 From: Herb Kuta Date: Wed, 27 Mar 2019 16:33:14 -0700 Subject: [PATCH] DRAFT core-image-ros-roscore.bb: Append appropriate package to IMAGE_INSTALL for ROS 2 --- recipes-core/images/core-image-ros-roscore.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes-core/images/core-image-ros-roscore.bb b/recipes-core/images/core-image-ros-roscore.bb index c679fdf..5a32250 100644 --- a/recipes-core/images/core-image-ros-roscore.bb +++ b/recipes-core/images/core-image-ros-roscore.bb @@ -7,7 +7,10 @@ IMAGE_LINGUAS = " " LICENSE = "MIT" inherit core-image +inherit ros_distro_${ROS_DISTRO} +inherit ${ROS_DISTRO_TYPE}_image IMAGE_ROOTFS_SIZE = "8192" -IMAGE_INSTALL += "roslaunch" +IMAGE_INSTALL_append_ros1-distro = " roslaunch" +IMAGE_INSTALL_append_ros2-distro = " ros-core"