Skip to content

Instantly share code, notes, and snippets.

@conoro
Last active June 26, 2022 12:53
Show Gist options
  • Save conoro/89fd8a3b538707be49221739d695db49 to your computer and use it in GitHub Desktop.
Save conoro/89fd8a3b538707be49221739d695db49 to your computer and use it in GitHub Desktop.
64-bit Raspberry Pi 4 chroot
sudo apt install -y debootstrap schroot
cat << EOF | sudo tee /etc/schroot/chroot.d/pi64
[pi64]
description=V3D arm64 testing
type=directory
directory=/srv/chroot/pi64
users=pi
root-groups=root
profile=desktop
personality=linux
preserve-environment=true
EOF
sudo debootstrap --arch=arm64 buster /srv/chroot/pi64
sudo schroot -c pi64 -- apt install -y mesa-utils sudo
schroot -c pi64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment