images: cleaned and renamed image recipe

This commit is contained in:
Lukas Bulwahn 2013-08-04 12:36:14 +02:00
parent 1b746e8d45
commit 521448ca5d
2 changed files with 16 additions and 26 deletions

View File

@ -1,26 +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"
# 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

@ -0,0 +1,16 @@
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 += "roslaunch"