-
Notifications
You must be signed in to change notification settings - Fork 38
1 Prerequisites for building
You really need to build Yocto Dizzy versions on Ubuntu 14.04.
With Dizzy and Ubuntu 16.10 you will get errors related to makenod etc from pseudo-native. that will prevent the image to build completely.
If you have a later version of Ubuntu you can net native build speeds by creating a container with Ubuntu 14.04, install and configure sshd, create a user for yourself, and install the required build environment (may be a bit to much):
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python python3 libsdl1.2-dev xterm python3 libelf-dev
Detailed Intel instruction are here: https://software.intel.com/en-us/node/593591
How-to create a container: https://linuxcontainers.org/lxd/getting-started-cli/
Yocto Morty / Pyro will build on Ubuntu Artful (17.10).
Install the required build environment (may be a bit to much):
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python python3 libsdl1.2-dev xterm python3
I have tried building using Ubuntu for Windows, with no succes. Appearently Windows translation layer does not fully support all properties of a linux file system.
Bitbake of course support building under windows natively. I have not tried this, so there are almost guaranteed bugs in the setup.sh script (see further on). If you need this and get bugs fixed send me a PR.
If you want to get started quickly, you might better off installing a virtual machine (like Virtualbox) with a suitable version of Ubuntu. Keep in mind that bitbake will produce 60GB - 100GB of files and a virtual machine will be substantially slower than building native (can take 4 hours or when building from scratch).