Merge pull request #63 from bulwahn/master

some minor improvements towards running roscore
This commit is contained in:
herbrechtsmeier 2013-04-11 06:37:38 -07:00
commit c5cb138813
4 changed files with 28 additions and 19 deletions

View File

@ -41,7 +41,6 @@ FILES_${PN} += "\
FILES_${PN}-dev += "\
${datadir}/${ROS_BPN}/cmake \
${datadir}/${ROS_BPN}/package.xml \
${datadir}/${ROS_BPN}/*.template \
"

View File

@ -0,0 +1,26 @@
DESCRIPTION = "A small image just capable of starting roscore."
IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}"
IMAGE_LINGUAS = " "
LICENSE = "MIT"
inherit core-image
IMAGE_ROOTFS_SIZE = "8192"
# add own name to hosts
# this is a simplistic setup for the qemu virtual machine with x86 architecture,
# and not a general solution.
augment_hosts_setting_file () {
echo '127.0.0.1\tqemux86.localdomain\t\tqemux86' >> ${IMAGE_ROOTFS}/etc/hosts
}
# remove not needed ipkg informations
# create a custom hosts file
ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; augment_hosts_setting_file ; "
IMAGE_INSTALL += "packagegroup-core-ssh-openssh \
roslaunch \
"

View File

@ -1,18 +0,0 @@
DESCRIPTION = "A small image just capable of starting roscore."
IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}"
IMAGE_LINGUAS = " "
LICENSE = "MIT"
inherit core-image
IMAGE_ROOTFS_SIZE = "8192"
# remove not needed ipkg informations
ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; "
IMAGE_INSTALL += "packagegroup-core-ssh-openssh \
roslaunch \
"

View File

@ -4,6 +4,7 @@ SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=16;endline=16;md5=d566ef916e9dedc494f5f793a6690ba5"
RDEPENDS_${PN} = "\
coreutils \
python-textutils \
python-logging \
python-threading \
@ -16,6 +17,7 @@ RDEPENDS_${PN} = "\
rosgraph-msgs \
genpy \
std-msgs \
rosout \
"
require ros-comm.inc