Instructions for VirtualBox --------------------------- You might want to check from README.md file what poky and meta-oe revisions are supported. Usually HEAD version work ok but if it does not, then you can use the tested version mentioned in that file. $ mkdir yocto $ cd yocto $ git clone git://git.yoctoproject.org/poky $ cd poky $ git clone git://git.openembedded.org/meta-openembedded $ git clone git://git.yoctoproject.org/meta-eca $ export YOCTO=`pwd` $ git clone git://git.yoctoproject.org/meta-intel $ . oe-init-build-env build-pc $ cd conf Edit bblayers.conf file and add these layers to BBLAYERS variable, if your name is not "user", then fix the path accordingly. /home/user/yocto/poky/meta-eca/meta-eca /home/user/yocto/poky/meta-eca/meta-eca-bsp /home/user/yocto/poky/meta-intel /home/user/yocto/poky/meta-openembedded/meta-oe /home/user/yocto/poky/meta-openembedded/meta-systemd /home/user/yocto/poky/meta-openembedded/meta-networking /home/user/yocto/poky/meta-openembedded/meta-ruby Edit local.conf file * set BB_NUMBER_THREADS and PARALLEL_MAKE accordingly to your machine capabilities * set your target to MACHINE ?= "genericx86" * set DISTRO ?= "eca" * add BBMASK = "meta/recipes-connectivity/bluez/bluez4*|meta-openembedded/meta-systemd/oe-core/recipes-connectivity/bluez/bluez4*" If you want to build the Internet-of-Things version of ECA, then add /home/user/yocto/poky/meta-eca/meta-iot to bblayers.conf and also add DISTRO_FEATURES_append = " internet-of-things" to local.conf file. Then build the distro $ cd $BUILDDIR $ bitbake eca-image If the build succeeds, the result image can be found at tmp-eglibc/deploy/images/genericx86 Then we need to convert the image to VDI format that VirtualBox can use. $ cd tmp-eglibc/deploy/images/genericx86 $ vboxmanage convertfromraw --format=VDI eca-image-genericx86.hddimg eca-image-genericx86.vdi If you have eca machine already configured in VirtualBox, then the following instructions below might not be needed. $ vboxmanage createvm --register --name eca $ vboxmanage hostonlyif create ipconfig vboxnet1 --ip 192.168.42.1 --netmask 255.255.255.0 $ vboxmanage modifyvm eca --ostype Linux --nic1 hostonly --hostonlyadapter1 vboxnet1 $ vboxmanage storagectl eca --name IDE --add ide --bootable on --controller PIIX4 $ vboxmanage storageattach eca --storagectl IDE --port 0 --device 0 --type hdd --medium eca-image-genericx86.vdi $ vboxmanage startvm eca