Created
December 11, 2021 10:21
-
-
Save vinhjaxt/290f1312c8cf6d8243249de6a6abf95d to your computer and use it in GitHub Desktop.
X96Air Chroot
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
#!/usr/bin/env bash | |
sudo apt install -y qemu-user-static | |
sudo cp "$(which qemu-arm-static)" ./usr/bin | |
sudo cp /etc/resolv.conf ./etc/resolv.conf | |
sudo mount --bind /dev ./dev/ | |
sudo mount --bind /sys ./sys/ | |
sudo mount --bind /proc ./proc/ | |
sudo mount --bind /dev/pts ./dev/pts | |
sudo chroot . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment