Skip to content

Instantly share code, notes, and snippets.

@drewmoseley
Last active August 19, 2019 00:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drewmoseley/5f477c426751e25bd18f01e7fe5a54d5 to your computer and use it in GitHub Desktop.
Save drewmoseley/5f477c426751e25bd18f01e7fe5a54d5 to your computer and use it in GitHub Desktop.
Yocto + QEMU testing setup
#!/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