Last active
August 19, 2019 00:57
-
-
Save drewmoseley/5f477c426751e25bd18f01e7fe5a54d5 to your computer and use it in GitHub Desktop.
Yocto + QEMU testing setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \ | |
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \ | |
xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \ | |
xterm | |
git clone git://git.yoctoproject.org/poky -b yocto-2.7.1 | |
source poky/oe-init-build-env | |
cat >> conf/local.conf <<'EOF' | |
SSTATE_MIRRORS = "\ | |
file://.* http://sstate.yoctoproject.org/2.7.1/PATH;downloadfilename=PATH \n \ | |
" | |
EOF | |
MACHINE=qemux86 bitbake core-image-base |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment