Outils pour utilisateurs

Outils du site


rpi:build_qemu

QEMU build environment

apt-get install debootstrap qemu-user-static binfmt-support

Raspbian Jessie

qemu-debootstrap --arch armhf jessie raspbian-jessie-qemu http://archive.raspbian.org/raspbian --no-check-gpg

mount -t proc proc /srv/raspbian-jessie-qemu/proc/
mount -t devpts devpts /srv/raspbian-jessie-qemu/dev/pts

LC_ALL=C LANG=C chroot /srv/raspbian-jessie-qemu

cd
echo 'deb http://mirrordirector.raspbian.org/raspbian jessie main' >> /etc/apt/sources.list
echo 'deb-src http://mirrordirector.raspbian.org/raspbian jessie main' >> /etc/apt/sources.list
echo 'deb http://archive.raspberrypi.org/debian wheezy main' >> /etc/apt/sources.list
echo 'deb-src http://archive.raspberrypi.org/debian wheezy main' >> /etc/apt/sources.list
echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf

apt-get update
apt-get install build-essential libraspberrypi-dev
echo 'export DEB_BUILD_OPTIONS=nocheck' >> /root/.profile
rpi/build_qemu.txt · Dernière modification: 2015/10/15 14:18 (modification externe)