Update RISC-V64_QEMU.md

This commit is contained in:
aiminick 2021-06-25 19:48:31 +08:00 committed by GitHub
parent ab5189e104
commit d48ab45348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -55,6 +55,19 @@ mmdebstrap --architectures=riscv64 --include="debian-ports-archive-keyring" sid
"deb http://ftp.debian.org/debian-ports/ unreleased main"
```
or
```
apt-get install debootstrap qemu-user-static binfmt-support \
debian-ports-archive-keyring
sudo debootstrap --arch=riscv64 --keyring /usr/share/keyrings/debian-ports-archive-keyring.gpg \
--include=debian-ports-archive-keyring unstable ./riscv64-chroot \
http://deb.debian.org/debian-ports
```
```
then
```
cat >>/etc/network/interfaces <<EOF
auto lo