Created
January 27, 2022 23:25
-
-
Save SamB/a087dfc2d13876a46224aab3bfb32749 to your computer and use it in GitHub Desktop.
Make RISC-V 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
sudo apt-get install sbuild qemu-user-static binfmt-support debian-ports-archive-keyring | |
sudo sbuild-createchroot --arch=riscv64 unstable /srv/chroot/unstable-riscv64/ --alias=sid --alias=UNRELEASED \ | |
--keyring=/usr/share/keyrings/debian-ports-archive-keyring.gpg --include=debian-ports-archive-keyring \ | |
http://deb.debian.org/debian-ports | |
# Now edit /etc/schroot/chroot.d/unstable-riscv64-sbuild-<gibberish>: | |
# change "profile=sbuild" to "profile=default". | |
# Maybe rename it to strip the gibberish, too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment