Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
apt install schroot
echo \
[jessie] \
description=Raspbian armhf \
directory=/var/chroot \
users=$USER \
groups=sbuild \
root-groups=root >> /etc/schroot/schroot.conf
apt install qemu-user-static debootstrap
debootstrap --no-check-gpg --foreign --arch=armhf jessie $CHROOT
cp /usr/bin/qemu-arm-static $CHROOT/usr/bin
chroot $CHROOT /debootstrap/debootstrap --second-stage
cat > $CHROOT/etc/apt/sources.list << EOF
deb jessie main contrib non-free rpi
deb jessie main
chroot $CHROOT apt-key adv --keyserver --recv 82B129927FA3303E
chroot $CHROOT apt-get update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.