diff --git a/recipes-core/images/webos-image-ros-roscore.bb b/recipes-core/images/webos-image-ros-roscore.bb new file mode 100644 index 0000000..dffd830 --- /dev/null +++ b/recipes-core/images/webos-image-ros-roscore.bb @@ -0,0 +1,13 @@ +# Copyright (c) 2019 LG Electronics, Inc. + +LICENSE = "MIT" + +# Prevent error when parsing if meta-webos layer isn't present. +LAYERDIR_meta-webos = "${@(d.getVar('BBFILE_PATTERN_meta-webos', True) or '')[1:]}" +include ${LAYERDIR_meta-webos}/recipes-core/images/webos-image.bb + +inherit ros_distro_${ROS_DISTRO} +inherit ${ROS_DISTRO_TYPE}_image + +IMAGE_INSTALL_append_ros1-distro = " roslaunch" +IMAGE_INSTALL_append_ros2-distro = " ros-core" diff --git a/recipes-core/images/webos-image-ros-world.bb b/recipes-core/images/webos-image-ros-world.bb new file mode 100644 index 0000000..c1f2737 --- /dev/null +++ b/recipes-core/images/webos-image-ros-world.bb @@ -0,0 +1,12 @@ +# Copyright (c) 2019 LG Electronics, Inc. + +LICENSE = "MIT" + +# Prevent error when parsing if meta-webos layer isn't present. +LAYERDIR_meta-webos = "${@(d.getVar('BBFILE_PATTERN_meta-webos', True) or '')[1:]}" +include ${LAYERDIR_meta-webos}/recipes-core/images/webos-image.bb + +inherit ros_distro_${ROS_DISTRO} +inherit ${ROS_DISTRO_TYPE}_image + +IMAGE_INSTALL += "packagegroup-ros-world"